diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:37:36 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:37:36 +0000 |
commit | 30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (patch) | |
tree | 4d8ac7e75ac179a918a76def244de6e3f3314e76 /games/fish | |
parent | 188803394908f222ab3ed8ec32331eb6dd00fd2d (diff) | |
download | FreeBSD-src-30ef9631c5eac7f8254bd3d7ad274d34d9f518b8.zip FreeBSD-src-30ef9631c5eac7f8254bd3d7ad274d34d9f518b8.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'games/fish')
-rw-r--r-- | games/fish/Makefile | 2 | ||||
-rw-r--r-- | games/fish/fish.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/games/fish/Makefile b/games/fish/Makefile index b8cad1a..a57454f 100644 --- a/games/fish/Makefile +++ b/games/fish/Makefile @@ -4,7 +4,7 @@ PROG= fish MAN6= fish.6 HIDEGAME=hidegame -beforeinstall: +beforeinstall: install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/fish.instr \ ${DESTDIR}/usr/share/games/fish.instr diff --git a/games/fish/fish.c b/games/fish/fish.c index 79cdb51..3adf8fb 100644 --- a/games/fish/fish.c +++ b/games/fish/fish.c @@ -98,7 +98,7 @@ main(argc, argv) } printplayer(USER); (void)printf("get to start.\n"); - + for (;;) { move = usermove(); if (!comphand[move]) { @@ -208,12 +208,12 @@ promove() max = i; break; } - while (++i < RANKS) + while (++i < RANKS) if (comphand[i] != CARDS && comphand[i] > comphand[max]) max = i; return(max); - } + } if (nrandom(1024) == 0723) { for (i = 0; i < RANKS; ++i) if (userhand[i] && comphand[i]) @@ -340,7 +340,7 @@ printhand(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; |