Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / hyphen / hyphen-fdo43931.patch
blob0a1f0b9cbdeec34822b5f954b2a8d42a1b7a4504
1 --- misc//hyphen-2.8.4/hyphen.c 2011-10-10 15:49:33.000000000 +0200
2 +++ misc/build/hyphen-2.8.4/hyphen.c 2011-12-27 13:49:07.568283812 +0100
3 @@ -436,9 +436,9 @@
5 } else if (k == 1) {
6 /* default first level: hyphen and ASCII apostrophe */
7 - if (!dict[0]->utf8) hnj_hyphen_load_line("NOHYPHEN '\n", dict[k], hashtab);
8 - else hnj_hyphen_load_line("NOHYPHEN ',\xe2\x80\x93,\xe2\x80\x99\n", dict[k], hashtab);
9 - strncpy(buf, "1-1/=,1,1\n", MAX_CHARS-1); // buf rewritten by hnj_hyphen_load here
10 + if (!dict[0]->utf8) hnj_hyphen_load_line("NOHYPHEN ',-\n", dict[k], hashtab);
11 + else hnj_hyphen_load_line("NOHYPHEN ',\xe2\x80\x93,\xe2\x80\x99,-\n", dict[k], hashtab);
12 + strncpy(buf, "1-1\n", MAX_CHARS-1); // buf rewritten by hnj_hyphen_load here
13 buf[MAX_CHARS-1] = '\0';
14 hnj_hyphen_load_line(buf, dict[k], hashtab); /* remove hyphen */
15 hnj_hyphen_load_line("1'1\n", dict[k], hashtab); /* ASCII apostrophe */