diff --git a/src/conf.c b/src/conf.c
index 5d8ec5e8bcbd9937ee64067948c08be6de20c65c..03ba80dd7407baa7ef78bc898e57afd785974b89 100644 (file)
--- a/src/conf.c
+++ b/src/conf.c
}
}
-static int
+static bool
parse_key_definition(char *str)
{
/* get the command name */
/* the hotkey configuration contains an unknown
command */
print_error(_("Unknown command"), buf);
- return -1;
+ return false;
}
/* skip whitespace */
if (*buf == 0) {
/* the hotkey configuration line is incomplete */
print_error(_("Incomplete hotkey configuration"), str);
- return -1;
+ return false;
}
/* parse key values */
}
if (key < 0)
- return -1;
+ return false;
return assign_keys(cmd, keys);
}