mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
menu_keys(): Do not compare different enums
(cherry picked from commit b9fb1d3c7d860fbfcc2b48601787be0af7099952)
This commit is contained in:
parent
8fafdcffba
commit
bc254b6079
@ -114,8 +114,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user