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

Unified Diff: third_party/hyphen/hyphen.h

Issue 12259025: Linux: apply a different hyphen patch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 10 months 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
Index: third_party/hyphen/hyphen.h
diff --git a/third_party/hyphen/hyphen.h b/third_party/hyphen/hyphen.h
index b5517d34ac4fd58bfa63fc668dfc69b81304a4b3..f5cf1217cb0d3608ebf17ba157c0c4b1dbb89313 100644
--- a/third_party/hyphen/hyphen.h
+++ b/third_party/hyphen/hyphen.h
@@ -90,11 +90,11 @@ struct _HyphenTrans {
int new_state;
};
-#ifdef HYPHEN_CHROME_CLIENT
-HyphenDict *hnj_hyphen_load (const unsigned char *data, size_t size);
-#else
+#if 0
+/* DO NOT USE, there are known problems with Unicode on Windows. */
HyphenDict *hnj_hyphen_load (const char *fn);
#endif
+HyphenDict *hnj_hyphen_load_file (FILE *f);
void hnj_hyphen_free (HyphenDict *dict);
/* obsolete, use hnj_hyphen_hyphenate2() or *hyphenate3() functions) */

Powered by Google App Engine
This is Rietveld 408576698