Fix seg for apps with no winclass

SVN revision: 12816
This commit is contained in:
handyande 2005-01-07 20:29:45 +00:00 committed by handyande
parent 94413d804f
commit 447426c79f
1 changed files with 4 additions and 4 deletions

View File

@ -2495,7 +2495,7 @@ _e_border_menu_show(E_Border *bd, Evas_Coord x, Evas_Coord y)
e_menu_item_label_set(mi, "Edit Icon");
e_menu_item_callback_set(mi, _e_border_menu_cb_icon_edit, a->path);
}
else
else if (bd->client.icccm.class) /* icons with no class useless to borders */
{
static char buf[PATH_MAX + 50];
char *name, *homedir;