summaryrefslogtreecommitdiff
path: root/games/backgammon
diff options
context:
space:
mode:
Diffstat (limited to 'games/backgammon')
-rw-r--r--games/backgammon/teachgammon/teach.c18
-rw-r--r--games/backgammon/teachgammon/tutor.h4
2 files changed, 11 insertions, 11 deletions
diff --git a/games/backgammon/teachgammon/teach.c b/games/backgammon/teachgammon/teach.c
index b8bdfb0e861..4c882f762b9 100644
--- a/games/backgammon/teachgammon/teach.c
+++ b/games/backgammon/teachgammon/teach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: teach.c,v 1.17 2017/01/20 01:12:44 krw Exp $ */
+/* $OpenBSD: teach.c,v 1.18 2017/01/21 08:22:57 krw Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -76,35 +76,35 @@ main(int argc, char *argv[])
wrboard();
if ((i = text(intro2)))
break;
-
+
case 3:
if ((i = text(moves)))
break;
-
+
case 4:
if ((i = text(removepiece)))
break;
-
+
case 5:
if ((i = text(hits)))
break;
-
+
case 6:
if ((i = text(endgame)))
break;
-
+
case 7:
if ((i = text(doubl)))
break;
-
+
case 8:
if ((i = text(stragy)))
break;
-
+
case 9:
if ((i = text(prog)))
break;
-
+
case 10:
if ((i = text(lastch)))
break;
diff --git a/games/backgammon/teachgammon/tutor.h b/games/backgammon/teachgammon/tutor.h
index 0b8f23c7670..89824a4901c 100644
--- a/games/backgammon/teachgammon/tutor.h
+++ b/games/backgammon/teachgammon/tutor.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tutor.h,v 1.6 2017/01/20 01:55:25 tb Exp $ */
+/* $OpenBSD: tutor.h,v 1.7 2017/01/21 08:22:57 krw Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -51,7 +51,7 @@ extern const char *const intro1[];
extern const char *const intro2[];
extern const char *const lastch[];
extern const char *const list[];
-extern int maxmoves;
+extern int maxmoves;
extern const char *const moves[];
extern const char *const opts;
extern const char *const prog[];