From 856d40d1212ec835b092a8f275124d09a65ba59d Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 1 Feb 2020 02:19:55 -0500 Subject: [PATCH] Fix CapNames array indices --- handle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handle.c b/handle.c index 4084525..96bd2a2 100644 --- a/handle.c +++ b/handle.c @@ -24,7 +24,7 @@ #include "chat.h" static const char *CapNames[] = { -#define X(name, id) [id] = name, +#define X(name, id) [id##Bit] = name, ENUM_CAP #undef X };