zero the window menu caption buffer
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 14 Nov 2012 09:25:13 +0000 (09:25 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 14 Nov 2012 09:25:13 +0000 (09:25 +0000)
SVN revision: 79272

src/bin/e_int_menus.c

index 7e6a012..4726f0f 100644 (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--)