diff options
Diffstat (limited to 'apps/action.c')
-rw-r--r-- | apps/action.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/action.c b/apps/action.c index da08e29dbb..8c03ca4d65 100644 --- a/apps/action.c +++ b/apps/action.c | |||
@@ -1219,8 +1219,7 @@ int action_set_keymap_handle(int handle, int count) | |||
1219 | return -1; | 1219 | return -1; |
1220 | #else | 1220 | #else |
1221 | /* free an existing remap */ | 1221 | /* free an existing remap */ |
1222 | if (action_last.key_remap > 0) | 1222 | action_last.key_remap = core_free(action_last.key_remap); |
1223 | action_last.key_remap = core_free(action_last.key_remap); | ||
1224 | 1223 | ||
1225 | /* if clearing the remap, we're done */ | 1224 | /* if clearing the remap, we're done */ |
1226 | if (count <= 0 || handle <= 0) | 1225 | if (count <= 0 || handle <= 0) |