E menu: title abbrv is now less broken.

Still very broken.

SVN revision: 79188
This commit is contained in:
Tom Hacohen 2012-11-12 18:35:20 +00:00
parent a7eb22f38f
commit e79ad1ed13
1 changed files with 1 additions and 0 deletions

View File

@ -1375,6 +1375,7 @@ _e_int_menus_clients_title_abbrv(const char *title)
p = (char*)title;
eina_unicode_utf8_get_prev(p, &len2);
strncpy(abbv, title, len2);
abbv[len2] = '\0';
len2 = len - (max_len / 2);
p = (char*)title;
eina_unicode_utf8_get_next(p, &len2);