From 5d51c8e0e541449093913ff3b1f78989c82ed035 Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 17 May 2009 23:37:52 +0000 Subject: [PATCH] minor bit of knf, just to be consistent; oga@ doesn't mind that much --- group.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/group.c b/group.c index 41e1825..776a18d 100644 --- a/group.c +++ b/group.c @@ -232,11 +232,10 @@ group_only(int idx) err(1, "group_only: index out of range (%d)", idx); for (i = 0; i < CALMWM_NGROUPS; i++) { - if (i == idx) { + if (i == idx) _group_show(&Groups[i]); - } else { + else _group_hide(&Groups[i]); - } } }