1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

menu_keys(): Do not compare different enums

This commit is contained in:
Petr Baudis 2011-09-24 02:10:54 +02:00
parent 30c485af4c
commit b9fb1d3c7d

View File

@ -115,8 +115,8 @@ menu_keys(struct terminal *term, void *d_, void *xxx)
/* Just a little reminder that the following code takes
* the easy way. */
assert(MAIN_ACTIONS > EDIT_ACTIONS);
assert(EDIT_ACTIONS > MENU_ACTIONS);
assert((int) MAIN_ACTIONS > (int) EDIT_ACTIONS);
assert((int) EDIT_ACTIONS > (int) MENU_ACTIONS);
if (keymap_id == KEYMAP_MAIN) {
action_ids[EDIT_ACTIONS] = ACT_EDIT_NONE;