diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2009-07-25 21:32:38 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2009-07-25 21:32:38 +0200 |
commit | f8be2d1b81454be9f3205f3c908ea11e23f9c1e9 (patch) | |
tree | 5332d8cd5bd0c7cd9d572e6f8fe51f39bd988b30 /i3status.h | |
parent | 94911d4cc3741df95fef45e0cceed1ebc311404b (diff) |
Return "no battery" instead of dying if a battery wasn’t found (Thanks Mirko)
Diffstat (limited to 'i3status.h')
-rw-r--r-- | i3status.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ void create_file(const char *name); char *order_to_str(int number, char *name); void setup(void); void write_to_statusbar(const char *name, const char *message, bool final_entry); -void slurp(char *filename, char *destination, int size); +bool slurp(char *filename, char *destination, int size); /* src/output.c */ void write_error_to_statusbar(const char *message); |