From 40aa1ec02e1bbd2b8ddb649f3d5dff0eeb0e3858 Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 2 Jul 2011 02:09:08 +0000 Subject: rename a variable from "time" to "stime" (it's a string) --- hack/hack.wield.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hack') diff --git a/hack/hack.wield.c b/hack/hack.wield.c index 7dd1e161..2a03b901 100644 --- a/hack/hack.wield.c +++ b/hack/hack.wield.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.wield.c,v 1.7 2009/06/07 18:30:39 dholland Exp $ */ +/* $NetBSD: hack.wield.c,v 1.8 2011/07/02 02:09:08 mrg Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.wield.c,v 1.7 2009/06/07 18:30:39 dholland Exp $"); +__RCSID("$NetBSD: hack.wield.c,v 1.8 2011/07/02 02:09:08 mrg Exp $"); #endif /* not lint */ #include "hack.h" @@ -131,7 +131,7 @@ int chwepon(struct obj *otmp, int amount) { const char *color = (amount < 0) ? "black" : "green"; - const char *time; + const char *stime; if (!uwep || uwep->olet != WEAPON_SYM) { strange_feeling(otmp, (amount > 0) ? "Your hands twitch." @@ -160,9 +160,9 @@ chwepon(struct obj *otmp, int amount) } if (!rn2(6)) amount *= 2; - time = (amount * amount == 1) ? "moment" : "while"; + stime = (amount * amount == 1) ? "moment" : "while"; pline("Your %s %s for a %s.", - aobjnam(uwep, "glow"), color, time); + aobjnam(uwep, "glow"), color, stime); uwep->spe += amount; if (amount > 0) uwep->cursed = 0; -- cgit v1.2.3-56-ge451