hyphen/hyphen-2.7.1-2.8.3.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 20e249e471312192a158abb313d8ba0c969a9bd3 Author: László Németh <nem...@numbertext.org> Date: Wed Dec 21 14:03:19 2011 +0100 Fix #43931 (bad hyphenation of French words with hyphen and apostrophe) Signed-off-by: Andras Timar <ati...@suse.com> diff --git a/hyphen/hyphen-2.7.1-2.8.3.patch b/hyphen/hyphen-2.7.1-2.8.3.patch index 047ce13..51ab23a 100644 --- a/hyphen/hyphen-2.7.1-2.8.3.patch +++ b/hyphen/hyphen-2.7.1-2.8.3.patch @@ -243,7 +243,7 @@ + /* default first level: hyphen and ASCII apostrophe */ + 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/=,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("1'1\n", dict[k], hashtab); /* ASCII apostrophe */ + if (dict[0]->utf8) {
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits