summaryrefslogtreecommitdiff
path: root/i3status.c
diff options
context:
space:
mode:
authorPiotr Domagalski <piotr@domagalski.com>2012-08-28 22:07:33 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-08-31 12:08:24 +0200
commitfa4e9cdfb3147fbcfb9e42067a49652d0a0d7456 (patch)
treebeacee945f35d28e166f4a6b8f858930230ca218 /i3status.c
parent68f438ec9eefbca5d735a1a7897d52e0e8e6f1c7 (diff)
Eat unnecessary space from the battery format str.
If the battery is not discharging it may be not possible to give information on remaining time or consumption. The resulting strings (%remaining, %consumption, %emptytime) are empty then. But because they are in the format string, the output string contains unnecessary spaces in this case. This commit makes i3status strip these spaces.
Diffstat (limited to 'i3status.c')
0 files changed, 0 insertions, 0 deletions