tbatt.c: add missing space during discharge - spoon - [fork] customized build o… | |
git clone git://src.adamsgaard.dk/spoon | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 1ebbb21978d5d563a5d3268bbc012d4d359d8e1c | |
parent 4619eab788eeec77c9eae7d7b5abf248f724c3de | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 19 Jan 2021 14:34:17 +0100 | |
batt.c: add missing space during discharge | |
Diffstat: | |
M batt.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/batt.c b/batt.c | |
t@@ -17,7 +17,7 @@ battprint(char *buf, size_t len, int acon, int life, int rem… | |
c = acon ? '=' : ' '; | |
if (c == ' ' && remain != 0) | |
- snprintf(buf, len, "%d%% %d:%02d |", life, remain/60, remain%6… | |
+ snprintf(buf, len, " %d%% %d:%02d |", life, remain/60, remain%… | |
else | |
snprintf(buf, len, " %d%% |", life); | |