summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2021-05-02 12:25:55 +0000
committerCameron Katri <me@cameronkatri.com>2021-05-05 14:35:12 -0400
commitccaf446a63995afde0c89b9c24ab8734e727bbf3 (patch)
tree8faca38415ce159055e9306e61fada144c17715f
parent22cc25f91e6a59da379941cfa3a2744efb356c6e (diff)
downloadbsdgames-darwin-ccaf446a63995afde0c89b9c24ab8734e727bbf3.tar.gz
bsdgames-darwin-ccaf446a63995afde0c89b9c24ab8734e727bbf3.tar.zst
bsdgames-darwin-ccaf446a63995afde0c89b9c24ab8734e727bbf3.zip
fish: remove trailing whitespace
-rw-r--r--fish/fish.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fish/fish.c b/fish/fish.c
index 1a9be58a..e72f42dc 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fish.c,v 1.25 2021/05/02 12:24:59 rillig Exp $ */
+/* $NetBSD: fish.c,v 1.26 2021/05/02 12:25:55 rillig Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993\
#if 0
static char sccsid[] = "@(#)fish.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: fish.c,v 1.25 2021/05/02 12:24:59 rillig Exp $");
+__RCSID("$NetBSD: fish.c,v 1.26 2021/05/02 12:25:55 rillig Exp $");
#endif
#endif /* not lint */
@@ -120,7 +120,7 @@ main(int argc, char **argv)
}
printplayer(USER);
(void)printf("get to start.\n");
-
+
for (;;) {
move = usermove();
if (!comphand[move]) {
@@ -243,12 +243,12 @@ promove(void)
max = i;
break;
}
- while (++i < RANKS)
+ while (++i < RANKS)
if (comphand[i] != CARDS &&
comphand[i] > comphand[max])
max = i;
return(max);
- }
+ }
if (arc4random_uniform(1024) == 0723) {
for (i = 0; i < RANKS; ++i)
if (userhand[i] && comphand[i])
@@ -369,7 +369,7 @@ printhand(const int *hand)
for (book = i = 0; i < RANKS; i++)
if (hand[i] < CARDS)
- for (j = hand[i]; --j >= 0;)
+ for (j = hand[i]; --j >= 0;)
PRC(i);
else
++book;