From: keni Date: Sat, 5 Mar 2011 21:16:31 +0000 (+0000) Subject: another compiler warning X-Git-Tag: MOVE2GIT~251 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=673c46dec13612ef8fcf7584c5eed1684c905179;p=nethack another compiler warning --- diff --git a/src/zap.c b/src/zap.c index 8c41df96e..d74a7363c 100644 --- a/src/zap.c +++ b/src/zap.c @@ -4216,9 +4216,9 @@ short exploding_wand_typ; pline(see_txt); newsym(x, y); } else if (sense_txt) { - You(sense_txt); + You("%s", sense_txt); } else if (hear_txt) { - if (!Deaf) You_hear(hear_txt); + if (!Deaf) You_hear("%s", hear_txt); } if (picking_at(x, y)) { stop_occupation();