summaryrefslogtreecommitdiffstats
path: root/rogue/use.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-01-14 00:23:51 +0000
committerdholland <dholland@NetBSD.org>2008-01-14 00:23:51 +0000
commit75ac6f4b4e5cbe8cd70943b174c38771b817c6ff (patch)
treee2b60ebac50f7c8c92ddac55ad7cdf0979731f63 /rogue/use.c
parent90a64b5b883e72d7189621a32f110d746d66d666 (diff)
downloadbsdgames-darwin-75ac6f4b4e5cbe8cd70943b174c38771b817c6ff.tar.gz
bsdgames-darwin-75ac6f4b4e5cbe8cd70943b174c38771b817c6ff.tar.zst
bsdgames-darwin-75ac6f4b4e5cbe8cd70943b174c38771b817c6ff.zip
Whitespace/KNF nits.
Diffstat (limited to 'rogue/use.c')
-rw-r--r--rogue/use.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/rogue/use.c b/rogue/use.c
index 904680b2..21136aa3 100644
--- a/rogue/use.c
+++ b/rogue/use.c
@@ -1,4 +1,4 @@
-/* $NetBSD: use.c,v 1.7 2007/12/27 23:53:01 dholland Exp $ */
+/* $NetBSD: use.c,v 1.8 2008/01/14 00:23:53 dholland Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)use.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: use.c,v 1.7 2007/12/27 23:53:01 dholland Exp $");
+__RCSID("$NetBSD: use.c,v 1.8 2008/01/14 00:23:53 dholland Exp $");
#endif
#endif /* not lint */
@@ -162,7 +162,7 @@ quaff()
}
break;
case SEE_INVISIBLE:
- messagef(0, "hmm, this potion tastes like %sjuice",
+ messagef(0, "hmm, this potion tastes like %sjuice",
fruit);
if (blind) {
unblind();
@@ -273,7 +273,7 @@ read_scroll()
break;
case CON_MON:
con_mon = 1;
- messagef(0, "your hands glow %sfor a moment",
+ messagef(0, "your hands glow %sfor a moment",
get_ench_color());
break;
}
@@ -307,7 +307,7 @@ vanish(obj, rm, pack)
free_object(obj);
}
if (rm) {
- (void) reg_move();
+ (void)reg_move();
}
}
@@ -589,7 +589,7 @@ get_ench_color()
return(id_potions[get_rand(0, POTIONS-1)].title);
} else if (con_mon) {
return("red ");
- }
+ }
return("blue ");
}