mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Fix -dump with multicell characters
(cherry picked from commit e0f0112de9cf81f3f387ce12d78d50ecd2547e97)
This commit is contained in:
parent
4e7980d727
commit
cade70e745
@ -915,6 +915,9 @@ utf8:
|
|||||||
if (write_char(*utf8_buf++,
|
if (write_char(*utf8_buf++,
|
||||||
fd, buf, &bptr)) goto fail;
|
fd, buf, &bptr)) goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
x += unicode_to_cell(c) - 1;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user