more cast style consistency

This commit is contained in:
nhmall
2023-11-13 20:31:02 -05:00
parent ee732d4054
commit d064ac2cda
18 changed files with 44 additions and 44 deletions

View File

@@ -3593,7 +3593,7 @@ display_inventory(const char *lets, boolean want_reply)
for (otmp = gi.invent; otmp; otmp = otmp->nobj)
if (otmp->invlet == cmdq->key
&& (!lets || !*lets
|| strchr(lets, def_oc_syms[(int)otmp->oclass].sym))) {
|| strchr(lets, def_oc_syms[(int) otmp->oclass].sym))) {
free(cmdq);
return otmp->invlet;
}