From 673c46dec13612ef8fcf7584c5eed1684c905179 Mon Sep 17 00:00:00 2001 From: keni Date: Sat, 5 Mar 2011 21:16:31 +0000 Subject: [PATCH] another compiler warning --- src/zap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();