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) */ |