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:
@@ -160,7 +160,7 @@ struct symset_customization {
|
||||
};
|
||||
#endif /* ENHANCED_SYMBOLS */
|
||||
|
||||
extern const struct symdef defsyms[MAXPCHARS]; /* defaults */
|
||||
extern const struct symdef defsyms[MAXPCHARS + 1]; /* defaults */
|
||||
#define WARNCOUNT 6 /* number of different warning levels */
|
||||
extern const struct symdef def_warnsyms[WARNCOUNT];
|
||||
#define SYMHANDLING(ht) (g.symset[g.currentgraphics].handling == (ht))
|
||||
|
||||
Reference in New Issue
Block a user