From: Shamus Hammons Date: Thu, 22 Sep 2016 15:44:16 +0000 (-0500) Subject: Fix for bug #81. Thanks to ggn for the patch! X-Git-Tag: v2.1.0~152 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=commitdiff_plain;h=9d0b53158275f8f9f542fb4d4a873d54789fe027 Fix for bug #81. Thanks to ggn for the patch! --- diff --git a/direct.c b/direct.c index 3ae88ca..dc44e8e 100644 --- a/direct.c +++ b/direct.c @@ -1613,5 +1613,7 @@ int d_opt(void) else return error(".opt directive needs every switch enclosed inside quotation marks"); } + + return OK; } diff --git a/rmac.c b/rmac.c index cde6e12..4e82346 100644 --- 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; } diff --git a/version.h b/version.h index 5884614..3833664 100644 --- a/version.h +++ b/version.h @@ -13,6 +13,6 @@ #define MAJOR 1 // Major version number #define MINOR 4 // Minor version number -#define PATCH 17 // Patch release number +#define PATCH 18 // Patch release number #endif // __VERSION_H__