From: keni Date: Sat, 5 Mar 2011 22:02:49 +0000 (+0000) Subject: another compiler warning X-Git-Tag: MOVE2GIT~247 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce25726d64957f5b076ce28f5e8ce7a1e581191b;p=nethack another compiler warning --- diff --git a/src/zap.c b/src/zap.c index 1c7c50b7b..cb31e6d38 100644 --- 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",