[Libreoffice-commits] .: Branch 'libreoffice-3-5' - hyphen/hyphen-2.7.1-2.8.3.patch

Andras Timar timar at kemper.freedesktop.org
Wed Dec 21 06:29:58 PST 2011


 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 <nemeth at 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 <atimar at 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) {


More information about the Libreoffice-commits mailing list