xbattmon

simple battery monitor for X
git clone git://git.2f30.org/xbattmon.git
Log | Files | Refs | README | LICENSE

commit 9cb02e1176c91dcce844d9ac31759b60433631ce
parent 99d0ee7441f97e6bc02e6e9f3ee6f782c1d64e23
Author: sin <sin@2f30.org>
Date:   Thu Nov  6 12:32:04 +0000

Save one level of indentation

Diffstat:
xbattmon.c | 26+++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/xbattmon.c b/xbattmon.c @@ -218,19 +218,19 @@ again: redraw(); continue; } - if (FD_ISSET(dpyfd, &rfds) != 0) { - while (XCheckIfEvent(dpy, &ev, evpredicate, NULL) == True) { - switch (ev.type) { - case Expose: - pollbat(); - redraw(); - break; - case VisibilityNotify: - if (ev.xvisibility.state != VisibilityUnobscured) - if (raise == 1) - XRaiseWindow(dpy, winbar); - break; - } + if (FD_ISSET(dpyfd, &rfds) == 0) + continue; + while (XCheckIfEvent(dpy, &ev, evpredicate, NULL) == True) { + switch (ev.type) { + case Expose: + pollbat(); + redraw(); + break; + case VisibilityNotify: + if (ev.xvisibility.state != VisibilityUnobscured) + if (raise == 1) + XRaiseWindow(dpy, winbar); + break; } } }