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

index 1c7c50b7b2781db1455a8003149394caea659ebb..cb31e6d3834580c3c3b37e39ab9cf2cdaff887bc 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -2648,7 +2648,7 @@ struct obj *obj;  /* wand or spell */
                e = engr_at(u.ux, u.uy);
                if (!(e && e->engr_type == ENGRAVE)) {
                    if (is_pool(u.ux, u.uy) || is_ice(u.ux, u.uy))
-                       pline(nothing_happens);
+                       pline("%s", nothing_happens);
                    else
                        pline("Blood %ss %s your %s.",
                              is_lava(u.ux, u.uy) ? "boil" : "pool",