Correct path names were to look for RPM based dictionaries for hunspell on Linux.

This commit is contained in:
Stephan Witt 2016-05-10 18:06:48 +02:00 committed by Richard Heck
parent 26308c1d6b
commit 3a2fc1595b

View File

@ -155,9 +155,9 @@ const string HunspellChecker::Private::dictPath(int selector)
{
switch (selector) {
case 4:
return addName(hunspellPackageDictDirectory(),dictDirectory());
return hunspellPackageDictDirectory();
case 3:
return addName(myspellPackageDictDirectory(),dictDirectory());
return myspellPackageDictDirectory();
case 2:
return addName(package().system_support().absFileName(),dictDirectory());
case 1: