edc_parser: Fix warnings.

This commit is contained in:
Jaehyun Cho 2016-05-17 18:11:47 +09:00
parent d299c6cde4
commit 11f5ebfd49
1 changed files with 2 additions and 1 deletions

View File

@ -2188,8 +2188,9 @@ parser_is_image_name(const Evas_Object *entry, const char *str)
const char *text = elm_entry_entry_get(entry);
char *utf8 = elm_entry_markup_to_utf8(text);
int utf8_len = strlen(utf8);
for (i = start_pos ; i < strlen(utf8); i++)
for (i = start_pos ; i < utf8_len; i++)
if (utf8[i] == '}')
{
end_pos = i;