another pedantic and probably unneeded null check

SVN revision: 80835
This commit is contained in:
Mike Blumenkrantz 2012-12-13 12:47:34 +00:00
parent 1a891cf8a3
commit 6388913775
1 changed files with 1 additions and 1 deletions

View File

@ -1187,7 +1187,7 @@ _e_int_menus_clients_add_by_class(Eina_List *borders, E_Menu *m)
free(class);
class = strdup(bd->client.icccm.class);
}
if (e_config->clientlist_separate_with == E_CLIENTLIST_GROUP_SEP_MENU)
if (subm && (e_config->clientlist_separate_with == E_CLIENTLIST_GROUP_SEP_MENU))
_e_int_menus_clients_item_create(bd, subm);
else
_e_int_menus_clients_item_create(bd, m);