summaryrefslogtreecommitdiff
path: root/games/xlifegame/files/patch-xlifegame.h
blob: ec21a62dac0f1a4b242cb980f8c46b77109c41f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- xlifegame.h.orig	Sat Oct 19 16:21:33 2002
+++ xlifegame.h	Sat Oct 19 16:21:52 2002
@@ -46,7 +46,7 @@
 OptionError(char *option)
 {
     printf("   X Life Game version %s \n     by Takeshi Hiyama\n",XLIFEGAME_VERSION);
-    if(strncmp(option, "-h"))
+    if(strncmp(option, "-h", 3))
         printf("\nxlife:  bad command line option \"%s\"\n", option);
     printf("usage: xlife [-display <displayname>] [-wait microseconds (default 10000)]\n             [-x width (default 60)] [-y height (default 60)] [-h]\n");
     exit(1);