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 /libs/hunspell/src/suggestmgr.hxx | |
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 'libs/hunspell/src/suggestmgr.hxx')
-rw-r--r-- | libs/hunspell/src/suggestmgr.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libs/hunspell/src/suggestmgr.hxx b/libs/hunspell/src/suggestmgr.hxx index c8762f81ef..675d98eb8f 100644 --- a/libs/hunspell/src/suggestmgr.hxx +++ b/libs/hunspell/src/suggestmgr.hxx @@ -74,8 +74,6 @@ #ifndef _SUGGESTMGR_HXX_ #define _SUGGESTMGR_HXX_ -#define MAXSWL 100 -#define MAXSWUTF8L (MAXSWL * 4) #define MAX_ROOTS 100 #define MAX_WORDS 100 #define MAX_GUESS 200 @@ -132,7 +130,7 @@ class LIBHUNSPELL_DLL_EXPORTED SuggestMgr { ~SuggestMgr(); int suggest(char*** slst, const char* word, int nsug, int* onlycmpdsug); - int ngsuggest(char** wlst, char* word, int ns, HashMgr** pHMgr, int md); + int ngsuggest(char** wlst, const char* word, int ns, HashMgr** pHMgr, int md); int suggest_auto(char*** slst, const char* word, int nsug); int suggest_stems(char*** slst, const char* word, int nsug); int suggest_pos_stems(char*** slst, const char* word, int nsug); @@ -177,8 +175,7 @@ class LIBHUNSPELL_DLL_EXPORTED SuggestMgr { int mapchars(char**, const char*, int, int); int map_related(const char*, - char*, - int, + std::string&, int, char** wlst, int, |