diff options
author | phil <phil@NetBSD.org> | 1997-07-09 06:25:45 +0000 |
---|---|---|
committer | phil <phil@NetBSD.org> | 1997-07-09 06:25:45 +0000 |
commit | 6170d87a62457fdea2faa68464de66f4ff98e654 (patch) | |
tree | 08d0f49c1c40a8c17be2572d2e74ed5b13dcf463 /cribbage/io.c | |
parent | 03a482de46e4ac8ada13b90965720fcfe97c003e (diff) | |
download | bsdgames-darwin-6170d87a62457fdea2faa68464de66f4ff98e654.tar.gz bsdgames-darwin-6170d87a62457fdea2faa68464de66f4ff98e654.tar.zst bsdgames-darwin-6170d87a62457fdea2faa68464de66f4ff98e654.zip |
Clean up play, let player see play more often, improve display timing.
Preliminary work from PR 2055 (as reverse patches).
Diffstat (limited to 'cribbage/io.c')
-rw-r--r-- | cribbage/io.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cribbage/io.c b/cribbage/io.c index a1ebe3dc..452a3ecf 100644 --- a/cribbage/io.c +++ b/cribbage/io.c @@ -1,4 +1,4 @@ -/* $NetBSD: io.c,v 1.8 1997/05/17 19:26:18 pk Exp $ */ +/* $NetBSD: io.c,v 1.9 1997/07/09 06:25:47 phil Exp $ */ /*- * Copyright (c) 1980, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: io.c,v 1.8 1997/05/17 19:26:18 pk Exp $"; +static char rcsid[] = "$NetBSD: io.c,v 1.9 1997/07/09 06:25:47 phil Exp $"; #endif #endif /* not lint */ @@ -407,6 +407,7 @@ msg(fmt, va_alist) va_start(ap); #endif (void)vsprintf(&Msgbuf[Newpos], fmt, ap); + Newpos = strlen(Msgbuf); va_end(ap); endmsg(); } @@ -432,6 +433,7 @@ addmsg(fmt, va_alist) va_start(ap); #endif (void)vsprintf(&Msgbuf[Newpos], fmt, ap); + Newpos = strlen(Msgbuf); va_end(ap); } |