]> Shamusworld >> Repos - rmac/blobdiff - rmac.c
Fix for bug #81. Thanks to ggn for the patch!
[rmac] / rmac.c
diff --git a/rmac.c b/rmac.c
index cde6e123784b972cf676b38a04d208b34f7e9a39..4e8234603be2f6f85a61d1fe69fc06630d353651 100644 (file)
--- a/rmac.c
+++ b/rmac.c
@@ -195,7 +195,10 @@ int ParseOptimization(char * optstring)
                int opt_no = atoi(&optstring[2]);
 
                if ((opt_no >= 0) && (opt_no < OPT_COUNT))
+               {
                        optim_flags[opt_no] = onoff;
+                       return OK;
+               }
                else
                        return ERROR;
        }