]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - trek/win.c
grammar fix
[bsdgames-darwin.git] / trek / win.c
index d0c6328c3bc23c97d0d1b0721d9874f535f55abf..9d45e38e8182930b84f48c3bf0f3961d53130f21 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: win.c,v 1.10 2009/05/24 22:55:03 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.10 2009/05/24 22:55:03 dholland Exp $");
+__RCSID("$NetBSD: win.c,v 1.12 2009/05/25 00:39:45 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -63,7 +63,7 @@ void
 win(void)
 {
        long            s;
-       const struct cvntab     *p = NULL;
+       const struct cvntab *p;
 
        sleep(1);
        printf("\nCongratulations, you have saved the Federation\n");
@@ -81,9 +81,9 @@ win(void)
                        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);
                }
        }