From dcf287959480208532b589630ed705dd1b375d1e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 23 Sep 2007 17:46:46 +0200 Subject: Fix spaces in ac printing --- statusbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'statusbar.c') 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); -- cgit v1.2.3-54-g00ecf