diff options
author | pommicket <pommicket@gmail.com> | 2023-03-23 13:55:50 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-03-23 13:55:50 -0400 |
commit | eb088ebd059ba00735723fb394d3bfe1b3530026 (patch) | |
tree | d7bfedce0a1f859ba89525afe1ae6a1afce427ae /ted.c | |
parent | 63f54d13aa7233986f784ef857faef259a889ed6 (diff) |
get rid of ARG_STRING, start macros
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; } } |