about summary refs log tree commit diff
path: root/group.c
diff options
context:
space:
mode:
Diffstat (limited to 'group.c')
-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]);
-		}
 	}
 }