Mercurial > hg > early-roguelike
diff urogue/bag.c @ 300:0250220d8cdd
Fix an assortment of compiler warnings.
A few potential bugs were removed in the process. Much code cleanup
remains to be done.
author | John "Elwin" Edwards |
---|---|
date | Fri, 22 Nov 2019 21:18:27 -0500 |
parents | c495a4f288c6 |
children |
line wrap: on
line diff
--- a/urogue/bag.c Sun Feb 11 15:37:33 2018 -0500 +++ b/urogue/bag.c Fri Nov 22 21:18:27 2019 -0500 @@ -288,10 +288,10 @@ if (*type->iarg == 0) sprintf(inv_temp, "%c%c) %s", obj_p->o_type, - print_letters[id], inv_name(obj_p, LOWERCASE), FALSE); + print_letters[id], inv_name(obj_p, LOWERCASE)); else sprintf(inv_temp, "%c) %s", print_letters[id], - inv_name(obj_p, LOWERCASE), FALSE); + inv_name(obj_p, LOWERCASE)); add_line(inv_temp); return(TRUE);