summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2009-05-17 23:37:53 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2009-05-17 23:37:53 +0000
commit643784d1e14fb8db12be54b8c9f89cc3bbc725f3 (patch)
tree25bed9786313afbf23e9b121f127fcda0a516a63
parent31491f672a1fff067a2d4e82d4290838144ed20e (diff)
minor bit of knf, just to be consistent; oga@ doesn't mind that much
-rw-r--r--app/cwm/group.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/cwm/group.c b/app/cwm/group.c
index 2e90e5ae3..41cd9a3c5 100644
--- a/app/cwm/group.c
+++ b/app/cwm/group.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: group.c,v 1.26 2009/05/17 22:48:47 okan Exp $
+ * $Id: group.c,v 1.27 2009/05/17 23:37:52 okan Exp $
*/
#include "headers.h"
@@ -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]);
- }
}
}