aboutsummaryrefslogtreecommitdiff
path: root/games/xlifegame
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-10-25 08:36:43 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-10-25 08:36:43 +0000
commit28af096bd93663682504049e3b6ae7f174530a06 (patch)
treef80a0206b6fb0748c7d5177838438df4e9fdffd6 /games/xlifegame
parent83d131f8e1039c7e203046927b466429e103dc44 (diff)
downloadports-28af096bd93663682504049e3b6ae7f174530a06.tar.gz
ports-28af096bd93663682504049e3b6ae7f174530a06.zip
Notes
Diffstat (limited to 'games/xlifegame')
-rw-r--r--games/xlifegame/files/patch-xlifegame.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/xlifegame/files/patch-xlifegame.h b/games/xlifegame/files/patch-xlifegame.h
new file mode 100644
index 000000000000..ec21a62dac0f
--- /dev/null
+++ b/games/xlifegame/files/patch-xlifegame.h
@@ -0,0 +1,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);