bugfix: check for unicode string end in client menu

CID 1186203
This commit is contained in:
Mike Blumenkrantz 2014-03-13 11:51:21 -04:00
parent 2b3906d8da
commit d0589662c5
1 changed files with 1 additions and 1 deletions

View File

@ -1497,7 +1497,7 @@ _e_int_menus_clients_title_abbrv(const char *title)
len = 0;
for (len2 = (max_len / 2); len2; len2--)
#if (EINA_VERSION_MAJOR > 1) || (EINA_VERSION_MINOR >= 8)
eina_unicode_utf8_next_get(title, &len);
if (!eina_unicode_utf8_next_get(title, &len)) break;
#else
eina_unicode_utf8_get_next(title, &len);
#endif