Fix bug in Frotz option parsing
authorPhilip Chimento <philip.chimento@gmail.com>
Sat, 5 Feb 2011 01:18:37 +0000 (02:18 +0100)
committerPhilip Chimento <philip.chimento@gmail.com>
Sat, 5 Feb 2011 01:57:33 +0000 (02:57 +0100)
The '-i' option was mistakenly instructed to swallow a value.

interpreters/frotz/glkmisc.c

index f18f14924ae975e2b0c88b291d3fdb6bb8cbdc27..c5598180b354ea091ba2fb82e20377f798ca7538 100644 (file)
@@ -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;