Explicitly set the altlabels array size

This will allow the compiler to complain after you add new glyphs.
This commit is contained in:
Pasi Kallinen
2021-07-28 07:45:21 +03:00
parent 7c4244edf7
commit 2775a07e5b
2 changed files with 2 additions and 2 deletions

View File

@@ -704,7 +704,7 @@ struct {
int idx;
const char *betterlabel;
const char *expectedlabel;
} altlabels[] = {
} altlabels[MAXPCHARS] = {
{S_stone, "dark part of a room", "dark part of a room"},
{S_vwall, "vertical wall", "wall"},
{S_hwall, "horizontal wall", "wall"},