From 4eb970945e85a5f7c5ac768a44d5bca03c824b97 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 18 Nov 2008 22:09:23 +0100 Subject: screen: method cmd() returns bool Return true/false instead of 1/0. --- src/screen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/screen.h') 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; -- cgit v1.2.3