reverse logic to make it like the others

This commit is contained in:
okan 2013-04-08 13:05:27 +00:00
parent 28b54db221
commit 62a685d82a

12
group.c
View File

@ -375,15 +375,11 @@ group_menu(XButtonEvent *e)
return;
mi = menu_filter(sc, &menuq, NULL, NULL, 0, NULL, NULL);
if (mi != NULL && mi->ctx != NULL) {
gc = (struct group_ctx *)mi->ctx;
(gc->hidden) ? group_show(sc, gc) : group_hide(sc, gc);
}
if (mi == NULL || mi->ctx == NULL)
goto cleanup;
gc = (struct group_ctx *)mi->ctx;
(gc->hidden) ? group_show(sc, gc) : group_hide(sc, gc);
cleanup:
menuq_clear(&menuq);
}