summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker')
-rw-r--r--plugins/SpellChecker/src/Version.h4
-rw-r--r--plugins/SpellChecker/src/dictionary.cpp5
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 {