forked from enlightenment/efl
parent
c724dd1964
commit
3e8511b2f3
|
@ -125,7 +125,9 @@ evas_common_font_utf8_get_next(unsigned char *buf, int *iindex)
|
||||||
{
|
{
|
||||||
/* 3 byte */
|
/* 3 byte */
|
||||||
if (((d2 = buf[index++]) & 0xc0) != 0x80 ||
|
if (((d2 = buf[index++]) & 0xc0) != 0x80 ||
|
||||||
((d3 = buf[index++]) & 0xc0) != 0x80)r = d & 0x0f; /* copy lower 4 */
|
((d3 = buf[index++]) & 0xc0) != 0x80)
|
||||||
|
return 0;
|
||||||
|
r = d & 0x0f; /* copy lower 4 */
|
||||||
r <<= 6;
|
r <<= 6;
|
||||||
r |= (d2 & 0x3f);
|
r |= (d2 & 0x3f);
|
||||||
r <<= 6;
|
r <<= 6;
|
||||||
|
|
Loading…
Reference in New Issue