summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-09-23 17:46:46 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-09-23 17:46:46 +0200
commitdcf287959480208532b589630ed705dd1b375d1e (patch)
treec6642f71bbcd06b7054139a7903d4abaf4791eb4
parent44e6f61148de319a728301d15d6932122ce0fd0e (diff)
Fix spaces in ac printing
-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);