diff options
author | billf <billf@FreeBSD.org> | 1999-12-12 03:04:17 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-12-12 03:04:17 +0000 |
commit | aeee88b81a6982928d45c0d80c325cd8372bbab0 (patch) | |
tree | 8530eefc376ff7eb3db0b9a165163e773ae5ca49 /games/cribbage/support.c | |
parent | 645afe7387cdb4ae3254e7f93eea41923be3b689 (diff) | |
download | FreeBSD-src-aeee88b81a6982928d45c0d80c325cd8372bbab0.zip FreeBSD-src-aeee88b81a6982928d45c0d80c325cd8372bbab0.tar.gz |
-Wall fixes.
Diffstat (limited to 'games/cribbage/support.c')
-rw-r--r-- | games/cribbage/support.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/cribbage/support.c b/games/cribbage/support.c index 639151b..bc22ca6 100644 --- a/games/cribbage/support.c +++ b/games/cribbage/support.c @@ -188,8 +188,8 @@ chkscr(scr, inc) myturn = (scr == &cscore); if (inc != 0) { - prpeg(Lastscore[myturn], '.', myturn); - Lastscore[myturn] = *scr; + prpeg(Lastscore[myturn ? 1 : 0], '.', myturn); + Lastscore[myturn ? 1 : 0] = *scr; *scr += inc; prpeg(*scr, PEG, myturn); refresh(); |