diff options
Diffstat (limited to 'games/cribbage/crib.c')
-rw-r--r-- | games/cribbage/crib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/cribbage/crib.c b/games/cribbage/crib.c index efbd71d20dd..b6d9970d706 100644 --- a/games/cribbage/crib.c +++ b/games/cribbage/crib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crib.c,v 1.15 2010/05/10 08:53:12 nicm Exp $ */ +/* $OpenBSD: crib.c,v 1.16 2012/03/04 04:05:15 fgsch Exp $ */ /* $NetBSD: crib.c,v 1.7 1997/07/10 06:47:29 mikel Exp $ */ /*- @@ -207,7 +207,7 @@ game(void) do { msg(quiet ? "Cut for crib? " : "Cut to see whose crib it is -- low card wins? "); - foo = getline(); + foo = get_line(); if (*foo != '\0' && ((i = atoi(foo)) < 4 || i > 48)) msg("Invalid cut"); else @@ -389,7 +389,7 @@ cut(bool mycrib, int pos) do { msg(quiet ? "Cut the deck? " : "How many cards down do you wish to cut the deck? "); - foo = getline(); + foo = get_line(); if (*foo != '\0' && ((i = atoi(foo)) < 4 || i > 36)) msg("Invalid cut"); else |