zero the window menu caption buffer

SVN revision: 79272
This commit is contained in:
Mike Blumenkrantz 2012-11-14 09:25:13 +00:00
parent ea545a4eda
commit fbca1c1c83
1 changed files with 1 additions and 0 deletions

View File

@ -1369,6 +1369,7 @@ _e_int_menus_clients_title_abbrv(const char *title)
max_len = e_config->clientlist_max_caption_len;
if (eina_unicode_utf8_get_len(title) <= max_len) return title;
memset(&abbv, 0, sizeof(abbv));
/* Advance to the end of the first half of the string. */
len = 0;
for (len2 = (max_len / 2) ; len2 ; len2--)