Fix CapNames array indices

weechat-hashes
C. McEnroe 2020-02-01 02:19:55 -05:00
parent 8431602363
commit 856d40d121
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
#include "chat.h" #include "chat.h"
static const char *CapNames[] = { static const char *CapNames[] = {
#define X(name, id) [id] = name, #define X(name, id) [id##Bit] = name,
ENUM_CAP ENUM_CAP
#undef X #undef X
}; };