Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Unified Diff: src/hunspell/hunspell.cxx

Issue 11299291: Fixes non-working secondary Hunspell suggestion mechanism as reported here: http://code.google.com/… (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/hunspell/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.chromium ('k') | src/hunspell/suggestmgr.hxx » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « README.chromium ('k') | src/hunspell/suggestmgr.hxx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698