diff options
author | László Németh <nemeth@numbertext.org> | 2012-01-03 09:25:06 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-01-03 09:47:36 +0100 |
commit | 9460d62f91ef0ca78d09cb2be2f33fd4e131fd1c (patch) | |
tree | ae5941585adf3bd542477aeb513b8cd0d9d64a20 | |
parent | 2650c803fa62bbf9d4138ead30de5ba3a2896856 (diff) |
fdo#43931 fix for double hyphens
Signed-off-by: Andras Timar <atimar@suse.com>
-rw-r--r-- | hyphen/hyphen-2.7.1-2.8.3.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hyphen/hyphen-2.7.1-2.8.3.patch b/hyphen/hyphen-2.7.1-2.8.3.patch index 51ab23a1dc20..ac2235f81a70 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 */ |