mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Fix HUnspellChecker when the path is specified with a trailing '/'.
see: http://thread.gmane.org/gmane.editors.lyx.devel/123324 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32356 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
03a0da1a49
commit
3b520b9523
@ -107,7 +107,7 @@ Hunspell * HunspellChecker::Private::addSpeller(string const & lang)
|
||||
return 0;
|
||||
}
|
||||
|
||||
hunspell_path += "/" + lang;
|
||||
addName(hunspell_path, lang);
|
||||
if (!haveLanguageFiles(hunspell_path)) {
|
||||
// try with '_' replaced by '-'
|
||||
hunspell_path = subst(hunspell_path, '_', '-');
|
||||
|
Loading…
Reference in New Issue
Block a user