slstatus

My fork of https://tools.suckless.org/slstatus/
git clone https://git.inz.fi/slstatus
Log | Files | Refs | README | LICENSE

commit f28e2682fdea5991891bf5f784292dc8fe7603a5
parent 3e04f1d910b2bab606e2bcaa61a0cee4f9cfe8b8
Author: Ali H. Fardan <raiz@firemail.cc>
Date:   Wed, 14 Sep 2016 03:35:09 +0300

* != **

Diffstat:
Mslstatus.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/slstatus.c b/slstatus.c @@ -116,7 +116,7 @@ battery_perc(const char *battery) static char * battery_state(const char *battery) { - char *state[12]; + char state[12]; FILE *fp; if (!state) { @@ -607,7 +607,7 @@ main(void) { unsigned short int i; char status_string[4096]; - char *res, *element, *status_old; + char *res, *element; struct arg argument; struct sigaction act;