diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2016-05-13 19:32:21 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2016-05-13 19:32:21 +0000 |
commit | 37c98eaad76b7f1bf86c75fe2c32cf6aa11f7c6f (patch) | |
tree | 32aede144aa0cd0f2dd058b003cdbd534a2f969c /plugins/SpellChecker/src | |
parent | e73bb3845517a31fa795e8d2174fcc8572835b33 (diff) |
SpellChecker: Updated hunspell to 1.4.1
git-svn-id: http://svn.miranda-ng.org/main/trunk@16828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker/src')
-rw-r--r-- | plugins/SpellChecker/src/Version.h | 4 | ||||
-rw-r--r-- | plugins/SpellChecker/src/dictionary.cpp | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/plugins/SpellChecker/src/Version.h b/plugins/SpellChecker/src/Version.h index 237d49359b..cf5c959244 100644 --- a/plugins/SpellChecker/src/Version.h +++ b/plugins/SpellChecker/src/Version.h @@ -1,14 +1,14 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 2
#define __RELEASE_NUM 6
-#define __BUILD_NUM 3
+#define __BUILD_NUM 4
#include <stdver.h>
#define __PLUGIN_NAME "Spell checker"
#define __FILENAME "SpellChecker.dll"
#define __DESCRIPTION "Spell checker for the message windows. Uses Hunspell to do the checking."
-#define __AUTHOR "Ricardo Pescuma Domenecci, FREAK_THEMIGHTY"
+#define __AUTHOR "Ricardo Pescuma Domenecci, Wishmaster"
#define __AUTHOREMAIL "pescuma@miranda-im.org"
#define __AUTHORWEB "http://miranda-ng.org/p/SpellChecker/"
#define __COPYRIGHT "© 2006-2010 Ricardo Pescuma Domenecci"
diff --git a/plugins/SpellChecker/src/dictionary.cpp b/plugins/SpellChecker/src/dictionary.cpp index c726a9b92a..371b934d01 100644 --- a/plugins/SpellChecker/src/dictionary.cpp +++ b/plugins/SpellChecker/src/dictionary.cpp @@ -534,9 +534,8 @@ public: if (mir_strcmp(dic_enc, "UTF-8") == 0) { codePage = CP_UTF8; - - int wcs_len; - hwordchars = fromHunspell((char *)hunspell->get_wordchars_utf16(&wcs_len)); + const std::vector<w_char> wordchars_utf16 = hunspell->get_wordchars_utf16(); + hwordchars = fromHunspell((char *)&wordchars_utf16[0]); } else { |