diff options
Diffstat (limited to 'games/phantasia/setup.c')
-rw-r--r-- | games/phantasia/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/phantasia/setup.c b/games/phantasia/setup.c index 85cfe4c1a5e..c315de7fa03 100644 --- a/games/phantasia/setup.c +++ b/games/phantasia/setup.c @@ -65,7 +65,7 @@ main(argc, argv) int ch; char path[MAXPATHLEN], *prefix; - while ((ch = getopt(argc, argv, "m:")) != EOF) + while ((ch = getopt(argc, argv, "m:")) != -1) switch(ch) { case 'm': monsterfile = optarg; |