mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 23:50:27 +00:00
Hyphenation of characters with codes above 128 was broken.
This my patch has just been committed to the Groff source repository.
This commit is contained in:
parent
8b80da3584
commit
75e206f5ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/groff/dist/; revision=104912
|
@ -3720,7 +3720,7 @@ void hyphen_trie::read_patterns_file(const char *name, int append,
|
|||
if (i > 0) {
|
||||
if (have_patterns || final_pattern || traditional) {
|
||||
for (int j = 0; j < i; j++)
|
||||
buf[j] = hpf_code_table[buf[j]];
|
||||
buf[j] = hpf_code_table[(unsigned char)buf[j]];
|
||||
insert_pattern(buf, i, num);
|
||||
final_pattern = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue