mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
Add some more debug info for hunspell, no status entry needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38586 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
30d95b0e45
commit
b30a564dc2
@ -143,10 +143,13 @@ bool HunspellChecker::Private::haveDictionary(Language const * lang, string & hp
|
||||
return false;
|
||||
}
|
||||
|
||||
LYXERR(Debug::FILES, "check hunspell path: " << hpath << " for language " << lang);
|
||||
LYXERR(Debug::FILES, "check hunspell path: " << hpath
|
||||
<< " for language " << (lang ? lang->lang() : "NULL" ));
|
||||
|
||||
string h_path = addName(hpath, HunspellDictionaryName(lang));
|
||||
// first we try lang code+variety
|
||||
if (haveLanguageFiles(h_path)) {
|
||||
LYXERR(Debug::FILES, " found " << h_path);
|
||||
hpath = h_path;
|
||||
return true;
|
||||
}
|
||||
@ -155,6 +158,7 @@ bool HunspellChecker::Private::haveDictionary(Language const * lang, string & hp
|
||||
if (!haveLanguageFiles(h_path)) {
|
||||
return false;
|
||||
}
|
||||
LYXERR(Debug::FILES, " found " << h_path);
|
||||
hpath = h_path;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user