summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-05 12:18:52 -0400
committerpommicket <pommicket@gmail.com>2023-08-05 12:18:52 -0400
commit601c081d62e0cd9c0e6750b424ecc5baa9a45b5f (patch)
tree0852f1fcbcebc31a05ec97c77e2634cc90237de7 /ted.c
parentef84bb759becde98318011652c6c5b8a52433359 (diff)
more plugin preparation
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ted.c b/ted.c
index 75713c6..7d51e04 100644
--- a/ted.c
+++ b/ted.c
@@ -733,8 +733,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 {
- CommandContext context = {0};
- command_execute_ex(ted, key_actions[mid].command, key_actions[mid].argument, context);
+ const CommandContext context = {0};
+ command_execute_ex(ted, key_actions[mid].command, &key_actions[mid].argument, &context);
return;
}
}