1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-02 03:46:21 -04:00

Decode the second char of double glyph. Still problems with a splitted

char
This commit is contained in:
Witold Filipczyk 2006-07-23 13:14:38 +02:00 committed by Witold Filipczyk
parent 7cb91c3213
commit 58b158871c

View File

@ -509,11 +509,11 @@ good_char:
x++;
part->spaces[x] = 0;
part->char_width[x] = 0;
data = utf_8_to_unicode(&chars, end);
}
if (data == UCS_NO_CHAR) {
chars++;
part->char_width[x] = 0;
x++;
/* this is at the end only */
return x - x2;
}
}
len = x - x2;