[Libreoffice-commits] .: hyphen/hyphen-2.7.1-2.8.3.patch

László Németh nemeth at kemper.freedesktop.org
Wed Dec 21 05:05:45 PST 2011


 hyphen/hyphen-2.7.1-2.8.3.patch |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4a3ca24020bdaa956acbefd911e688917c7fa3dd
Author: László Németh <nemeth at numbertext.org>
Date:   Wed Dec 21 14:03:19 2011 +0100

    Fix #43931 (bad hyphenation of French words with hyphen and apostrophe)

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) {


More information about the Libreoffice-commits mailing list