mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Bug 826, UTF-8 set_hline: Don't skip the character after double-cell.
I do not fully understand this code, but I am sure skipping characters like this is a bug, and correcting it seems to fix bug 826 (too small table for double-cell characters). I don't see any similar bugs in other parts of set_hline. The patch is from bug 826, comment 4, attachment 308. The warning there about unicode_to_cell(UCS_NO_CHAR) still applies but this patch does not make the situation worse. I have logged a separate bug 901 about those calls.
This commit is contained in:
parent
47a8be1b4d
commit
a1fe5cf975
@ -507,7 +507,6 @@ good_char:
|
||||
x++;
|
||||
part->spaces[x] = 0;
|
||||
part->char_width[x] = 0;
|
||||
data = utf8_to_unicode(&chars, end);
|
||||
}
|
||||
if (data == UCS_NO_CHAR) {
|
||||
/* this is at the end only */
|
||||
|
Loading…
Reference in New Issue
Block a user