From 3b520b9523074a8d3ea3cbfff6685e3eee017f5c Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sat, 5 Dec 2009 03:37:05 +0000 Subject: [PATCH] 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 --- src/HunspellChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HunspellChecker.cpp b/src/HunspellChecker.cpp index a6a4f9420c..9e9ea15990 100644 --- a/src/HunspellChecker.cpp +++ b/src/HunspellChecker.cpp @@ -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, '_', '-');