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

index d74a7363ce7be251d96a2c5b4cbb05722f3c806a..7127687997bb32c4db28e74ed3ca0dc8050e0335 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -4213,7 +4213,7 @@ short exploding_wand_typ;
                    lev->doormask = new_doormask;
                    unblock_point(x, y);        /* vision */
                    if (see_it) {
-                       pline(see_txt);
+                       pline("%s", see_txt);
                        newsym(x, y);
                    } else if (sense_txt) {
                        You("%s", sense_txt);