return legal indexes for some display.h macros
Some static analyzers flagged the last-resort values as out of bounds (which they were). There's a small number of other complaint-suppression items in here too, but nothing drastic.
This commit is contained in:
@@ -62,7 +62,7 @@ struct {
|
||||
int idx;
|
||||
const char *tilelabel;
|
||||
const char *expectedlabel;
|
||||
} altlabels[MAXPCHARS] = {
|
||||
} altlabels[MAXPCHARS + 1] = {
|
||||
#define PCHAR_TILES
|
||||
#include "defsym.h"
|
||||
#undef PCHAR_TILES
|
||||
|
||||
Reference in New Issue
Block a user