summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/dictionary.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-01-30 17:02:29 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-01-30 17:02:29 +0000
commit12b5b6ad28c4ad63991320262c171e0f0ab82505 (patch)
tree88cba348b86cd0340df3487dc21ef94ade46bf10 /plugins/SpellChecker/src/dictionary.cpp
parent6893a28bd219b45bdf1e2ed5be015bc365d709d9 (diff)
SpellChecker: linked with external hunspell
git-svn-id: http://svn.miranda-ng.org/main/trunk@16194 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker/src/dictionary.cpp')
-rw-r--r--plugins/SpellChecker/src/dictionary.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SpellChecker/src/dictionary.cpp b/plugins/SpellChecker/src/dictionary.cpp
index aecca478b1..c726a9b92a 100644
--- a/plugins/SpellChecker/src/dictionary.cpp
+++ b/plugins/SpellChecker/src/dictionary.cpp
@@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
-#include "commons.h"
+#include "stdafx.h"
#define APPPATH _T("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\%s")
#define MUICACHE _T("Software\\Microsoft\\Windows\\ShellNoRoam\\MUICache")
@@ -626,7 +626,7 @@ public:
toHunspell(hunspell_word, word, _countof(hunspell_word));
char ** words;
- int count = hunspell->suggest_auto(&words, hunspell_word);
+ int count = hunspell->suggest(&words, hunspell_word);
if (count <= 0)
return ret;
@@ -655,7 +655,7 @@ public:
toHunspell(hunspell_word, word, _countof(hunspell_word));
char ** words;
- int count = hunspell->suggest_auto(&words, hunspell_word);
+ int count = hunspell->suggest(&words, hunspell_word);
if (count <= 0)
return NULL;