summaryrefslogtreecommitdiff
path: root/games/cribbage/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/cribbage/io.c')
-rw-r--r--games/cribbage/io.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/cribbage/io.c b/games/cribbage/io.c
index bdc2d35c79c..c4bcbaa3f8d 100644
--- a/games/cribbage/io.c
+++ b/games/cribbage/io.c
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.7 1995/03/21 15:08:53 cgd Exp $ */
+/* $NetBSD: io.c,v 1.9 1997/07/09 06:25:47 phil Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -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);
}