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

Andras Timar timar at kemper.freedesktop.org
Tue Jan 3 00:47:09 PST 2012


 hyphen/hyphen-2.7.1-2.8.3.patch |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9460d62f91ef0ca78d09cb2be2f33fd4e131fd1c
Author: László Németh <nemeth at numbertext.org>
Date:   Tue Jan 3 09:25:06 2012 +0100

    fdo#43931 fix for double hyphens
    
    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 51ab23a..ac2235f 100644
--- a/hyphen/hyphen-2.7.1-2.8.3.patch
+++ b/hyphen/hyphen-2.7.1-2.8.3.patch
@@ -241,8 +241,8 @@
 +    }
 +  } else if (k == 1) {
 +    /* 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);
++    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
 +    hnj_hyphen_load_line(buf, dict[k], hashtab); /* remove hyphen */
 +    hnj_hyphen_load_line("1'1\n", dict[k], hashtab); /* ASCII apostrophe */


More information about the Libreoffice-commits mailing list