aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-18 22:09:23 +0100
committerMax Kellermann <max@duempel.org>2008-11-18 22:09:23 +0100
commit4eb970945e85a5f7c5ac768a44d5bca03c824b97 (patch)
tree519464793f14956adf9a2530b35e74aecc458272 /src/screen.h
parente314afc17e7710e830013fad56b9840530b7ceba (diff)
downloadmpd-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.h2
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;