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

(cherry picked from commit 3a2fc1595b)
This commit is contained in:
Stephan Witt 2016-05-10 18:06:48 +02:00
parent 0e6b63a262
commit 4d9f2e740b
2 changed files with 4 additions and 2 deletions

View File

@ -154,9 +154,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:

View File

@ -60,6 +60,8 @@ What's new
- Fix smal typo in Reference dialog (bug 10194).
- Fix default location for RPM based hunspell dictionary search (bug 10071 and 10192).
* INTERNALS