diff options
author | László Németh <nemeth@numbertext.org> | 2011-12-21 14:03:19 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2011-12-21 14:05:15 +0100 |
commit | 4a3ca24020bdaa956acbefd911e688917c7fa3dd (patch) | |
tree | e10ec5e818980048995f3d7d6685e270b50fd52c /hyphen | |
parent | 7958f8244cc3e554b1339b14c7e589dfcbb0526c (diff) |
Fix #43931 (bad hyphenation of French words with hyphen and apostrophe)
Diffstat (limited to 'hyphen')
-rw-r--r-- | hyphen/hyphen-2.7.1-2.8.3.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hyphen/hyphen-2.7.1-2.8.3.patch b/hyphen/hyphen-2.7.1-2.8.3.patch index 047ce13608ac..51ab23a1dc20 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) { |