mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
Decode the second char of double glyph. Still problems with a splitted
char
This commit is contained in:
parent
7cb91c3213
commit
58b158871c
@ -509,11 +509,11 @@ good_char:
|
|||||||
x++;
|
x++;
|
||||||
part->spaces[x] = 0;
|
part->spaces[x] = 0;
|
||||||
part->char_width[x] = 0;
|
part->char_width[x] = 0;
|
||||||
|
data = utf_8_to_unicode(&chars, end);
|
||||||
}
|
}
|
||||||
if (data == UCS_NO_CHAR) {
|
if (data == UCS_NO_CHAR) {
|
||||||
chars++;
|
/* this is at the end only */
|
||||||
part->char_width[x] = 0;
|
return x - x2;
|
||||||
x++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
len = x - x2;
|
len = x - x2;
|
||||||
|
Loading…
Reference in New Issue
Block a user