int i, len, chlen;
char *ptr;
- len = evas_common_font_utf8_get_len(n->text);
+ len = evas_common_font_utf8_get_len((unsigned char*) n->text);
chlen = strlen(repch);
str = alloca((len * chlen) + 1);
tbase = str;
{
int pos2 = pos;
- evas_common_font_utf8_get_prev(n->text, &pos2);
+ evas_common_font_utf8_get_prev((unsigned char *) n->text, &pos2);
if (pos2 < pos) pos = pos2;
}
EINA_INLIST_FOREACH(o->lines, ln)
{
int plast;
- plast = evas_common_font_utf8_get_last(it->text, strlen(it->text));
+ plast = evas_common_font_utf8_get_last((unsigned char *) it->text, strlen(it->text));
if ((index - it->source_pos) == plast) at_end_of_line = 1;
}
}