Change flag::sortloot to xchar

When typedefed to C99's bool type, Clang complains in container_contents about "comparison of constant 108 with expression of type 'boolean' (aka 'bool') is always false".
This commit is contained in:
C.W. Betts
2016-04-14 14:04:22 -06:00
parent 587ec223b9
commit 41ade6d37d
+1 -1
View File
@@ -48,7 +48,7 @@ struct flag {
boolean showexp; /* show experience points */ boolean showexp; /* show experience points */
boolean showscore; /* show score */ boolean showscore; /* show score */
boolean silent; /* whether the bell rings or not */ boolean silent; /* whether the bell rings or not */
boolean sortloot; /* sort items alphabetically when looting */ xchar sortloot; /* sort items alphabetically when looting */
boolean sortpack; /* sorted inventory */ boolean sortpack; /* sorted inventory */
boolean sparkle; /* show "resisting" special FX (Scott Bigham) */ boolean sparkle; /* show "resisting" special FX (Scott Bigham) */
boolean standout; /* use standout for --More-- */ boolean standout; /* use standout for --More-- */