diff options
author | Max Kellermann <max@duempel.org> | 2008-11-18 22:09:23 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-18 22:09:23 +0100 |
commit | 4eb970945e85a5f7c5ac768a44d5bca03c824b97 (patch) | |
tree | 519464793f14956adf9a2530b35e74aecc458272 /src/screen.h | |
parent | e314afc17e7710e830013fad56b9840530b7ceba (diff) | |
download | mpd-4eb970945e85a5f7c5ac768a44d5bca03c824b97.tar.gz mpd-4eb970945e85a5f7c5ac768a44d5bca03c824b97.tar.xz mpd-4eb970945e85a5f7c5ac768a44d5bca03c824b97.zip |
screen: method cmd() returns bool
Return true/false instead of 1/0.
Diffstat (limited to '')
-rw-r--r-- | src/screen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h index 5eb6cba20..5d7737973 100644 --- a/src/screen.h +++ b/src/screen.h @@ -71,7 +71,7 @@ typedef struct screen_functions { void (*resize)(int cols, int rows); void (*paint)(void); void (*update)(mpdclient_t *c); - int (*cmd)(mpdclient_t *c, command_t cmd); + bool (*cmd)(mpdclient_t *c, command_t cmd); const char *(*get_title)(char *s, size_t size); } screen_functions_t; |