2012-06-29 05:20:03 -05:00
|
|
|
--- misc//hyphen-2.8.4/hyphen.c 2011-10-10 15:49:33.000000000 +0200
|
|
|
|
+++ misc/build/hyphen-2.8.4/hyphen.c 2011-12-27 13:49:07.568283812 +0100
|
|
|
|
@@ -436,9 +436,9 @@
|
2011-12-27 07:11:32 -06:00
|
|
|
}
|
|
|
|
} else if (k == 1) {
|
2011-12-22 17:41:29 -06:00
|
|
|
/* default first level: hyphen and ASCII apostrophe */
|
2011-12-27 07:11:32 -06:00
|
|
|
- if (!dict[0]->utf8) hnj_hyphen_load_line("NOHYPHEN '\n", dict[k], hashtab);
|
|
|
|
- else hnj_hyphen_load_line("NOHYPHEN ',\xe2\x80\x93,\xe2\x80\x99\n", dict[k], hashtab);
|
2012-06-29 05:20:03 -05:00
|
|
|
- strncpy(buf, "1-1/=,1,1\n", MAX_CHARS-1); // buf rewritten by hnj_hyphen_load here
|
2011-12-27 07:11:32 -06:00
|
|
|
+ if (!dict[0]->utf8) hnj_hyphen_load_line("NOHYPHEN ',-\n", dict[k], hashtab);
|
|
|
|
+ else hnj_hyphen_load_line("NOHYPHEN ',\xe2\x80\x93,\xe2\x80\x99,-\n", dict[k], hashtab);
|
2012-06-29 05:20:03 -05:00
|
|
|
+ strncpy(buf, "1-1\n", MAX_CHARS-1); // buf rewritten by hnj_hyphen_load here
|
|
|
|
buf[MAX_CHARS-1] = '\0';
|
2011-12-22 17:41:29 -06:00
|
|
|
hnj_hyphen_load_line(buf, dict[k], hashtab); /* remove hyphen */
|
|
|
|
hnj_hyphen_load_line("1'1\n", dict[k], hashtab); /* ASCII apostrophe */
|