Make dictionary printfs easier to read. (also add one for the thesaurus)
Originally committed to SVN as r4051.
This commit is contained in:
parent
0c9f32fbb8
commit
e89e7b4be2
2 changed files with 3 additions and 1 deletions
|
@ -267,7 +267,7 @@ void HunspellSpellChecker::SetLanguage(wxString language) {
|
|||
dicpath = wxString::Format("%s%s.dic", path, language);
|
||||
usrdicpath = wxString::Format("%s%s.dic", userPath, language);
|
||||
|
||||
wxLogDebug("Using dictionary %ls for spellchecking\n", dicpath);
|
||||
wxLogDebug("Using dictionary: %ls", dicpath);
|
||||
|
||||
// Check if language is available
|
||||
if (!wxFileExists(affpath) || !wxFileExists(dicpath)) return;
|
||||
|
|
|
@ -161,6 +161,8 @@ void MySpellThesaurus::SetLanguage(wxString language) {
|
|||
// Check if language is available
|
||||
if (!wxFileExists(idxpath) || !wxFileExists(datpath)) return;
|
||||
|
||||
wxLogDebug(_("Using thesarus: %ls"), datpath.c_str());
|
||||
|
||||
// Load
|
||||
mythes = new MyThes(idxpath.mb_str(wxConvLocal),datpath.mb_str(wxConvLocal));
|
||||
conv = NULL;
|
||||
|
|
Loading…
Reference in a new issue