xbattmon

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

commit f59dca559a08c22a2091594ecdeb027af7168616
parent 88bb71f699ae9720b74fd6eef50f56c8491ec8b3
Author: sin <sin@2f30.org>
Date:   Fri, 31 Oct 2014 16:49:57 +0000

Rename update to recalc

Diffstat:
Mxbattmon.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/xbattmon.c b/xbattmon.c @@ -127,7 +127,7 @@ redraw(void) } void -update(void) +recalc(void) { int r; int fd; @@ -179,7 +179,7 @@ again: err(1, "select"); } if (n == 0) { - update(); + recalc(); redraw(); continue; } @@ -203,7 +203,7 @@ int main(void) { setup(); - update(); + recalc(); redraw(); loop(); return 0;