diff options
Diffstat (limited to 'ted.c')
-rw-r--r-- | ted.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -619,7 +619,8 @@ void ted_press_key(Ted *ted, SDL_Keycode keycode, SDL_Keymod modifier) { } else if (key_actions[mid].key_combo.value > key_combo.value) { hi = mid; } else { - command_execute(ted, key_actions[mid].command, key_actions[mid].argument); + CommandContext context = {0}; + command_execute_ex(ted, key_actions[mid].command, key_actions[mid].argument, context); return; } } |