Explicitly set the altlabels array size
This will allow the compiler to complain after you add new glyphs.
This commit is contained in:
@@ -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"},
|
||||
|
||||
Reference in New Issue
Block a user