From 12b5b6ad28c4ad63991320262c171e0f0ab82505 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sat, 30 Jan 2016 17:02:29 +0000 Subject: SpellChecker: linked with external hunspell git-svn-id: http://svn.miranda-ng.org/main/trunk@16194 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SpellChecker/src/dictionary.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/SpellChecker/src/dictionary.cpp') 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; -- cgit v1.2.3