aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/qreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qreg.c')
-rw-r--r--src/qreg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qreg.c b/src/qreg.c
index 332b5f6..d49a4d6 100644
--- a/src/qreg.c
+++ b/src/qreg.c
@@ -1334,10 +1334,10 @@ teco_ed_hook(teco_ed_hook_t type, GError **error)
teco_expressions_brace_close(error);
static const gchar *const type2name[] = {
- [TECO_ED_HOOK_ADD-1] = "ADD",
- [TECO_ED_HOOK_EDIT-1] = "EDIT",
- [TECO_ED_HOOK_CLOSE-1] = "CLOSE",
- [TECO_ED_HOOK_QUIT-1] = "QUIT"
+ [TECO_ED_HOOK_ADD] = "ADD",
+ [TECO_ED_HOOK_EDIT] = "EDIT",
+ [TECO_ED_HOOK_CLOSE] = "CLOSE",
+ [TECO_ED_HOOK_QUIT] = "QUIT"
};
error_add_frame: