summaryrefslogtreecommitdiffstats
path: root/backgammon/teachgammon/teach.c
diff options
context:
space:
mode:
Diffstat (limited to 'backgammon/teachgammon/teach.c')
-rw-r--r--backgammon/teachgammon/teach.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/backgammon/teachgammon/teach.c b/backgammon/teachgammon/teach.c
index 5c654b3f..9d10908d 100644
--- a/backgammon/teachgammon/teach.c
+++ b/backgammon/teachgammon/teach.c
@@ -1,4 +1,4 @@
-/* $NetBSD: teach.c,v 1.20 2009/08/12 05:17:57 dholland Exp $ */
+/* $NetBSD: teach.c,v 1.21 2010/03/22 05:10:19 mrg Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#if 0
static char sccsid[] = "@(#)teach.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: teach.c,v 1.20 2009/08/12 05:17:57 dholland Exp $");
+__RCSID("$NetBSD: teach.c,v 1.21 2010/03/22 05:10:19 mrg Exp $");
#endif
#endif /* not lint */
@@ -87,9 +87,9 @@ main(int argc __unused, char *argv[])
raw.c_oflag &= ~(ONLCR | OXTABS);
clear();
}
- text(hello);
- text(list);
- i = text(contin);
+ wrtext(hello);
+ wrtext(list);
+ i = wrtext(contin);
if (i == 0)
i = 2;
init();
@@ -99,42 +99,42 @@ main(int argc __unused, char *argv[])
leave();
case 2:
- if ((i = text(intro1)) != 0)
+ if ((i = wrtext(intro1)) != 0)
break;
wrboard();
- if ((i = text(intro2)) != 0)
+ if ((i = wrtext(intro2)) != 0)
break;
case 3:
- if ((i = text(moves)) != 0)
+ if ((i = wrtext(moves)) != 0)
break;
case 4:
- if ((i = text(removepiece)) != 0)
+ if ((i = wrtext(removepiece)) != 0)
break;
case 5:
- if ((i = text(hits)) != 0)
+ if ((i = wrtext(hits)) != 0)
break;
case 6:
- if ((i = text(endgame)) != 0)
+ if ((i = wrtext(endgame)) != 0)
break;
case 7:
- if ((i = text(doubl)) != 0)
+ if ((i = wrtext(doubl)) != 0)
break;
case 8:
- if ((i = text(stragy)) != 0)
+ if ((i = wrtext(stragy)) != 0)
break;
case 9:
- if ((i = text(prog)) != 0)
+ if ((i = wrtext(prog)) != 0)
break;
case 10:
- if ((i = text(lastch)) != 0)
+ if ((i = wrtext(lastch)) != 0)
break;
}
tutor();