1
0
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:
Miciah Dashiel Butler Masters 2007-09-01 17:04:58 +00:00 committed by Kalle Olavi Niemitalo
parent 4e7980d727
commit cade70e745

View File

@ -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;
} }