diff --git a/edit/usermap.c b/edit/usermap.c index bbc0dd700..e30c011ba 100644 --- a/edit/usermap.c +++ b/edit/usermap.c @@ -59,7 +59,7 @@ typedef struct Config { typedef struct Command { const char *name; - bool (*handler) (config_t *cfg, int argc, char *argv[]); + int (*handler) (config_t *cfg, int argc, char *argv[]); } command_t; static char error_msg[200] = "Nobody see this"; @@ -255,7 +255,7 @@ cfg_free_maps(config_t *cfg) static GPtrArray * split_line(char *str) { - bool inside_quote = FALSE; + gboolean inside_quote = FALSE; int move = 0; GPtrArray *args; @@ -345,7 +345,7 @@ keymap_add(GArray *keymap, int key, int cmd) } /* bind */ -static bool +static gboolean cmd_bind(config_t *cfg, int argc, char *argv[]) { char *keyname, *command; @@ -471,7 +471,7 @@ static void edit_my_define (Dlg_head * h, int idx, const char *text, #endif /* label