db-move: moved firefox-i18n from [testing] to [extra] (any)
[arch-packages.git] / abiword / repos / extra-x86_64 / enchant-2.1.patch
blob010aac100908b0349c358aa5b93f4d8766298b4e
1 --- abiword-3.0.2/src/af/xap/xp/enchant_checker.cpp.orig 2013-04-07 13:53:03.000000000 +0000
2 +++ abiword-3.0.2/src/af/xap/xp/enchant_checker.cpp 2017-11-19 22:54:41.236180298 +0000
3 @@ -127,7 +127,7 @@
4 pvSugg->addItem (ucszSugg);
7 - enchant_dict_free_suggestions (m_dict, suggestions);
8 + enchant_dict_free_string_list (m_dict, suggestions);
11 return pvSugg;
12 @@ -139,7 +139,7 @@
14 if (word && len) {
15 UT_UTF8String utf8 (word, len);
16 - enchant_dict_add_to_personal (m_dict, utf8.utf8_str(), utf8.byteLength());
17 + enchant_dict_add (m_dict, utf8.utf8_str(), utf8.byteLength());
18 return true;
20 return false;
21 @@ -150,7 +150,7 @@
22 UT_return_val_if_fail (m_dict, false);
24 UT_UTF8String ignore (toCorrect, toCorrectLen);
25 - return enchant_dict_is_in_session (m_dict, ignore.utf8_str(), ignore.byteLength()) != 0;
26 + return enchant_dict_is_added (m_dict, ignore.utf8_str(), ignore.byteLength()) != 0;
29 void EnchantChecker::ignoreWord (const UT_UCSChar *toCorrect, size_t toCorrectLen)