From: Philip Chimento Date: Sat, 5 Feb 2011 01:18:37 +0000 (+0100) Subject: Fix bug in Frotz option parsing X-Git-Tag: v0.9~142 X-Git-Url: https://git.stderr.nl/gitweb?p=projects%2Fchimara%2Fchimara.git;a=commitdiff_plain;h=f5ef90183114ba9429109038b0a9be7f3f90b900 Fix bug in Frotz option parsing The '-i' option was mistakenly instructed to swallow a value. --- diff --git a/interpreters/frotz/glkmisc.c b/interpreters/frotz/glkmisc.c index f18f149..c559818 100644 --- a/interpreters/frotz/glkmisc.c +++ b/interpreters/frotz/glkmisc.c @@ -119,7 +119,7 @@ void os_process_arguments(int argc, char *argv[]) /* Parse the options */ do { - c = zgetopt(argc, argv, "aAi:oOPQs:S:tu:xZ:"); + c = zgetopt(argc, argv, "aAioOPQs:S:tu:xZ:"); switch (c) { case 'a': option_attribute_assignment = 1; break;