From: keni Date: Sat, 5 Mar 2011 23:16:38 +0000 (+0000) Subject: another compiler warning X-Git-Tag: MOVE2GIT~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d465c183ef123f0c9a5af67d26c9071b65c3efdf;p=nethack another compiler warning --- diff --git a/src/zap.c b/src/zap.c index cb31e6d38..5636c5ed8 100644 --- a/src/zap.c +++ b/src/zap.c @@ -2026,7 +2026,7 @@ dozap() check_unpaid(obj); /* zappable addition done by GAN 11/03/86 */ - if(!zappable(obj)) pline(nothing_happens); + if(!zappable(obj)) pline("%s", nothing_happens); else if(obj->cursed && !rn2(WAND_BACKFIRE_CHANCE)) { backfire(obj); /* the wand blows up in your face! */ exercise(A_STR, FALSE);