aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/qreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qreg.c')
-rw-r--r--src/qreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qreg.c b/src/qreg.c
index 67cc19c..c8c4614 100644
--- a/src/qreg.c
+++ b/src/qreg.c
@@ -1341,7 +1341,7 @@ teco_ed_hook(teco_ed_hook_t type, GError **error)
return teco_expressions_discard_args(error) &&
teco_expressions_brace_close(error);
- static const gchar *type2name[] = {
+ static const gchar *const type2name[] = {
[TECO_ED_HOOK_ADD-1] = "ADD",
[TECO_ED_HOOK_EDIT-1] = "EDIT",
[TECO_ED_HOOK_CLOSE-1] = "CLOSE",