summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-07-29 14:44:17 -0400
committerpommicket <pommicket@gmail.com>2022-07-29 14:44:17 -0400
commit1a9561c06ba0197b2b307a61443775f9fd11165b (patch)
tree2297afc02e5a4eb7f65a8248db3906284c144737 /main.c
parentab65fe136f7a8739b78aaa4801a9fb761a301417 (diff)
language-specific keyboard shortcuts
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7a6731e..60bc230 100644
--- a/main.c
+++ b/main.c
@@ -688,7 +688,7 @@ int main(int argc, char **argv) {
(u32)((modifier & (KMOD_LSHIFT|KMOD_RSHIFT)) != 0) << KEY_MODIFIER_SHIFT_BIT |
(u32)((modifier & (KMOD_LALT|KMOD_RALT)) != 0) << KEY_MODIFIER_ALT_BIT;
if (key_combo < KEY_COMBO_COUNT) {
- KeyAction *action = &ted->key_actions[key_combo];
+ KeyAction *action = &ted_active_settings(ted)->key_actions[key_combo];
if (action->command) {
command_execute(ted, action->command, action->argument);
}