summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--statusbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/statusbar.c b/statusbar.c
index 74c3713..234cb70 100644
--- a/statusbar.c
+++ b/statusbar.c
@@ -47,8 +47,8 @@ int main(int argc, char **argv)
/* 2) Battery percentage (only the first battery matters for now) */
read_acpi_batt(0);
if (batteries[0].present)
- printf("%d%% %s | ", batteries[0].percentage,
- g.adapt.ac_state == P_AC ? "(ac)" : "");
+ printf("%d%% %s| ", batteries[0].percentage,
+ g.adapt.ac_state == P_AC ? "(ac) " : "");
/* 3) Temperature */
printf("%d C | ", g.temperature);