diff --git a/src/main.c b/src/main.c
index fe696c400ce61d5e91d79f5283335b2fc1f04001..47a5670cef21e810a063d487e017678ddf93b306 100644 (file)
--- a/src/main.c
+++ b/src/main.c
auto_update_timer();
}
-int do_input_event(command_t cmd)
+bool
+do_input_event(command_t cmd)
{
if (cmd == CMD_QUIT) {
g_main_loop_quit(main_loop);
- return -1;
+ return false;
}
screen_cmd(mpd, cmd);
/* make sure we don't update the volume yet */
disable_update_timer();
- return 0;
+ return true;
}
#ifndef NCMPC_MINI