commit 3a2fc1595b316e0847d25b0604ec9188d953af01
Author: Stephan Witt <sw...@lyx.org>
Date:   Tue May 10 18:06:48 2016 +0200

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

diff --git a/src/HunspellChecker.cpp b/src/HunspellChecker.cpp
index 5c17976..ec5466f 100644
--- a/src/HunspellChecker.cpp
+++ b/src/HunspellChecker.cpp
@@ -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:

Reply via email to