SHA256
1
0
forked from pool/enchant
enchant/enchant-hunspell-1.5.0.patch

14 lines
591 B
Diff

Index: enchant-1.6.0/src/myspell/myspell_checker.cpp
===================================================================
--- enchant-1.6.0.orig/src/myspell/myspell_checker.cpp 2016-11-22 09:32:52.653021617 +0100
+++ enchant-1.6.0/src/myspell/myspell_checker.cpp 2016-11-22 09:37:27.753598594 +0100
@@ -431,7 +431,7 @@ MySpellChecker::requestDictionary(const
if(myspell == NULL){
return false;
}
- char *enc = myspell->get_dic_encoding();
+ const char *enc = myspell->get_dic_encoding();
m_translate_in = g_iconv_open(enc, "UTF-8");
m_translate_out = g_iconv_open("UTF-8", enc);