JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Kill some {}
authorMarco Peereboom <marco@conformal.com>
Thu, 12 Feb 2009 21:14:14 +0000 (21:14 +0000)
committerMarco Peereboom <marco@conformal.com>
Thu, 12 Feb 2009 21:14:14 +0000 (21:14 +0000)
scrotwm.c

index f6e5070..ef373bb 100644 (file)
--- a/scrotwm.c
+++ b/scrotwm.c
@@ -706,15 +706,15 @@ bar_toggle(struct swm_region *r, union arg *args)
 
        DNPRINTF(SWM_D_MISC, "bar_toggle\n");
 
-       if (bar_enabled) {
+       if (bar_enabled)
                for (i = 0; i < sc; i++)
                        TAILQ_FOREACH(tmpr, &screens[i].rl, entry)
                                XUnmapWindow(display, tmpr->bar_window);
-       } else {
+       else
                for (i = 0; i < sc; i++)
                        TAILQ_FOREACH(tmpr, &screens[i].rl, entry)
                                XMapRaised(display, tmpr->bar_window);
-       }
+
        bar_enabled = !bar_enabled;
        for (i = 0; i < sc; i++)
                for (j = 0; j < SWM_WS_MAX; j++)