]> granicus.if.org Git - nethack/commitdiff
another compiler warning
authorkeni <keni>
Sat, 5 Mar 2011 23:16:38 +0000 (23:16 +0000)
committerkeni <keni>
Sat, 5 Mar 2011 23:16:38 +0000 (23:16 +0000)
src/zap.c

index cb31e6d3834580c3c3b37e39ab9cf2cdaff887bc..5636c5ed865a5d89aedd3147aee62cfd1143b315 100644 (file)
--- 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);