commit bcd800806a93706ce41e84723150fc5ce17dd090 parent efbad33c03537c9de80f40929227f402e29b9ac7 Author: sin <sin@2f30.org> Date: Fri, 31 Oct 2014 16:41:38 +0000 Style fix Diffstat:
M | xbattmon.c | | | 5 | +---- |
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/xbattmon.c b/xbattmon.c @@ -147,10 +147,7 @@ update(void) if (howmuch > maxcap) howmuch = maxcap; - if (info.ac_state == APM_AC_ON) - state = AC_ON; - else - state = AC_OFF; + state = info.ac_state == APM_AC_ON ? AC_ON : AC_OFF; } Bool