--- hatari/src/includes/shortcut.h 2019/04/09 08:53:17 1.1.1.6 +++ hatari/src/includes/shortcut.h 2019/04/09 08:59:29 1.1.1.7 @@ -6,9 +6,9 @@ */ /* If pressed short-cut key modifier or standalone short-cut key, - * retain keypress until safe to execute (start of VBL). Returns zero - * if key wasn't a shortcut */ -extern int ShortCut_CheckKeys(int modkey, int symkey, bool press); + * retain keypress until safe to execute (start of VBL). Returns + * true if key was shortcut, false otherwise */ +extern bool ShortCut_CheckKeys(int modkey, int symkey, bool press); /* Invoke shortcut identified by name */ extern bool Shortcut_Invoke(const char *shortcut); /* Act on the stored keypress (in VBL) */