Mon May 25 00:39:45 2009 UTC ()
"abbreviation" has two Bs.


(dholland)
diff -r1.15 -r1.16 src/games/trek/getpar.c
diff -r1.11 -r1.12 src/games/trek/getpar.h
diff -r1.11 -r1.12 src/games/trek/win.c
diff -r1.10 -r1.11 src/games/trek/score.c
diff -r1.9 -r1.10 src/games/trek/srscan.c

cvs diff -r1.15 -r1.16 src/games/trek/getpar.c (expand / switch to context diff)
--- src/games/trek/getpar.c 2009/05/24 23:20:22 1.15
+++ src/games/trek/getpar.c 2009/05/25 00:39:45 1.16
@@ -1,4 +1,4 @@
-/*	$NetBSD: getpar.c,v 1.15 2009/05/24 23:20:22 dholland Exp $	*/
+/*	$NetBSD: getpar.c,v 1.16 2009/05/25 00:39:45 dholland Exp $	*/
 
 /*
  * Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)getpar.c	8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: getpar.c,v 1.15 2009/05/24 23:20:22 dholland Exp $");
+__RCSID("$NetBSD: getpar.c,v 1.16 2009/05/25 00:39:45 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -145,8 +145,8 @@
 		/* if command list, print four per line */
 		if (input[0] == '?' && input[1] == 0) {
 			c = 4;
-			for (r = tab; r->abrev; r++) {
-				strcpy(input, r->abrev);
+			for (r = tab; r->abbrev; r++) {
+				strcpy(input, r->abbrev);
 				strcat(input, r->full);
 				printf("%14.14s", input);
 				if (--c > 0)
@@ -160,9 +160,9 @@
 		}
 
 		/* search for in table */
-		for (r = tab; r->abrev; r++) {
+		for (r = tab; r->abbrev; r++) {
 			p = input;
-			for (q = r->abrev; *q; q++)
+			for (q = r->abbrev; *q; q++)
 				if (*p++ != *q)
 					break;
 			if (!*q) {
@@ -175,7 +175,7 @@
 		}
 
 		/* check for not found */
-		if (!r->abrev) {
+		if (!r->abbrev) {
 			printf("invalid input; ? for valid inputs\n");
 			skiptonl(0);
 		} else

cvs diff -r1.11 -r1.12 src/games/trek/getpar.h (expand / switch to context diff)
--- src/games/trek/getpar.h 2009/05/24 21:44:56 1.11
+++ src/games/trek/getpar.h 2009/05/25 00:39:45 1.12
@@ -1,4 +1,4 @@
-/*	$NetBSD: getpar.h,v 1.11 2009/05/24 21:44:56 dholland Exp $	*/
+/*	$NetBSD: getpar.h,v 1.12 2009/05/25 00:39:45 dholland Exp $	*/
 
 /*
  * Copyright (c) 1980, 1993
@@ -35,7 +35,7 @@
 
 /* used for getcodpar() parameter list */
 struct cvntab {
-	const char	*abrev;
+	const char	*abbrev;
 	const char	*full;
 	cmdfun	value;
 	int	value2;

cvs diff -r1.11 -r1.12 src/games/trek/win.c (expand / switch to context diff)
--- src/games/trek/win.c 2009/05/24 23:00:46 1.11
+++ src/games/trek/win.c 2009/05/25 00:39:45 1.12
@@ -1,4 +1,4 @@
-/*	$NetBSD: win.c,v 1.11 2009/05/24 23:00:46 dholland Exp $	*/
+/*	$NetBSD: win.c,v 1.12 2009/05/25 00:39:45 dholland Exp $	*/
 
 /*
  * Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)win.c	8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: win.c,v 1.11 2009/05/24 23:00:46 dholland Exp $");
+__RCSID("$NetBSD: win.c,v 1.12 2009/05/25 00:39:45 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -81,9 +81,9 @@
 			printf("to the exalted rank of Commodore Emeritus\n");
 		} else {
 			p = &Skitab[Game.skill - 1];
-			printf("from %s%s ", p->abrev, p->full);
+			printf("from %s%s ", p->abbrev, p->full);
 			p++;
-			printf("to %s%s\n", p->abrev, p->full);
+			printf("to %s%s\n", p->abbrev, p->full);
 		}
 	}
 

cvs diff -r1.10 -r1.11 src/games/trek/score.c (expand / switch to context diff)
--- src/games/trek/score.c 2009/05/25 00:03:18 1.10
+++ src/games/trek/score.c 2009/05/25 00:39:45 1.11
@@ -1,4 +1,4 @@
-/*	$NetBSD: score.c,v 1.10 2009/05/25 00:03:18 dholland Exp $	*/
+/*	$NetBSD: score.c,v 1.11 2009/05/25 00:39:45 dholland Exp $	*/
 
 /*
  * Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)score.c	8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: score.c,v 1.10 2009/05/25 00:03:18 dholland Exp $");
+__RCSID("$NetBSD: score.c,v 1.11 2009/05/25 00:39:45 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -94,7 +94,7 @@
 	if (Move.endgame > 0) {
 		s += (t = 100 * (u = Game.skill));
 		scoreitem(t, "Bonus for winning a %s%s game",
-			Skitab[u - 1].abrev, Skitab[u - 1].full);
+			Skitab[u - 1].abbrev, Skitab[u - 1].full);
 	}
 
 	if (Game.killed) {

cvs diff -r1.9 -r1.10 src/games/trek/srscan.c (expand / switch to context diff)
--- src/games/trek/srscan.c 2009/05/24 22:55:03 1.9
+++ src/games/trek/srscan.c 2009/05/25 00:39:45 1.10
@@ -1,4 +1,4 @@
-/*	$NetBSD: srscan.c,v 1.9 2009/05/24 22:55:03 dholland Exp $	*/
+/*	$NetBSD: srscan.c,v 1.10 2009/05/25 00:39:45 dholland Exp $	*/
 
 /*
  * Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)srscan.c	8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: srscan.c,v 1.9 2009/05/24 22:55:03 dholland Exp $");
+__RCSID("$NetBSD: srscan.c,v 1.10 2009/05/25 00:39:45 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -166,9 +166,9 @@
 		p = &Lentab[Game.length - 1];
 		if (Game.length > 2)
 			p--;
-		printf("Length, Skill %s%s, ", p->abrev, p->full);
+		printf("Length, Skill %s%s, ", p->abbrev, p->full);
 		p = &Skitab[Game.skill - 1];
-		printf("%s%s\n", p->abrev, p->full);
+		printf("%s%s\n", p->abbrev, p->full);
 		return;
 	}
 	printf("  ");