Kaydet (Commit) af366b73 authored tarafından László Németh's avatar László Németh

fdo43931 (fix for double hyphens)

üst e64df060
--- misc/hyphen-2.8.3/hyphen.c 2011-12-22 23:37:55.929693094 +0000 --- misc//hyphen-2.8.3/hyphen.c 2011-10-10 15:49:33.000000000 +0200
+++ misc/build/hyphen-2.8.3/hyphen.c 2011-12-22 23:38:32.294088592 +0000 +++ misc/build/hyphen-2.8.3/hyphen.c 2011-12-27 13:49:07.568283812 +0100
@@ -437,7 +437,7 @@ @@ -435,9 +435,9 @@
}
} else if (k == 1) {
/* default first level: hyphen and ASCII apostrophe */ /* default first level: hyphen and ASCII apostrophe */
if (!dict[0]->utf8) hnj_hyphen_load_line("NOHYPHEN '\n", dict[k], hashtab); - 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); - else hnj_hyphen_load_line("NOHYPHEN ',\xe2\x80\x93,\xe2\x80\x99\n", dict[k], hashtab);
- strcpy(buf, "1-1/=,1,1\n"); // buf rewritten by hnj_hyphen_load here - strcpy(buf, "1-1/=,1,1\n"); // buf rewritten by hnj_hyphen_load here
+ 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);
+ strcpy(buf, "1-1\n"); // buf rewritten by hnj_hyphen_load here + strcpy(buf, "1-1\n"); // buf rewritten by hnj_hyphen_load here
hnj_hyphen_load_line(buf, dict[k], hashtab); /* remove hyphen */ hnj_hyphen_load_line(buf, dict[k], hashtab); /* remove hyphen */
hnj_hyphen_load_line("1'1\n", dict[k], hashtab); /* ASCII apostrophe */ hnj_hyphen_load_line("1'1\n", dict[k], hashtab); /* ASCII apostrophe */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment