fix corner case of starting at nul terminator byte at end and getting prev

charater of utf-8 string


SVN revision: 6983
This commit is contained in:
Carsten Haitzler 2003-06-06 00:41:07 +00:00
parent 0495a7540b
commit 8c6352eae6
1 changed files with 0 additions and 2 deletions

View File

@ -151,8 +151,6 @@ evas_common_font_utf8_get_prev(unsigned char *buf, int *iindex)
int index = *iindex, r, istart = *iindex;
unsigned char d = buf[index++], d2, d3, d4;
if (!d)
return 0;
if (d < 0x80)
{
r = d;