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

index 7127687997bb32c4db28e74ed3ca0dc8050e0335..5cede13c13ddb25cd7b02c364c226af08f2a5490 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -4006,7 +4006,7 @@ short exploding_wand_typ;
                    if (t) t->tseen = 1;
                    if (see_it) msgtxt = "The water evaporates.";
                }
-               Norep(msgtxt);
+               Norep("%s", msgtxt);
                if (lev->typ == ROOM) newsym(x,y);
            } else if(IS_FOUNTAIN(lev->typ)) {
                    if (see_it)