Index: src/hunspell/hunspell.cxx |
=================================================================== |
--- src/hunspell/hunspell.cxx (revision 149334) |
+++ src/hunspell/hunspell.cxx (working copy) |
@@ -59,7 +59,11 @@ |
wordbreak = pAMgr->get_breaktable(); |
/* and finally set up the suggestion manager */ |
+#ifdef HUNSPELL_CHROME_CLIENT |
+ pSMgr = new SuggestMgr(bdict_reader, try_string, MAXSUGGESTION, pAMgr); |
+#else |
pSMgr = new SuggestMgr(try_string, MAXSUGGESTION, pAMgr); |
+#endif |
if (try_string) free(try_string); |
} |