summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2009-05-17 23:37:52 +0000
committerokan <okan>2009-05-17 23:37:52 +0000
commit5d51c8e0e541449093913ff3b1f78989c82ed035 (patch)
treee40823495b772e046a3bd5e34882274c0586f477
parent4c10afe2cc8468d9cfbbd489a2ca4c91329b556a (diff)
downloadcwm-5d51c8e0e541449093913ff3b1f78989c82ed035.tar.gz
cwm-5d51c8e0e541449093913ff3b1f78989c82ed035.tar.xz
cwm-5d51c8e0e541449093913ff3b1f78989c82ed035.zip
minor bit of knf, just to be consistent; oga@ doesn't mind that much
-rw-r--r--group.c5
1 files 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]);
-		}
 	}
 }