From 9d0b53158275f8f9f542fb4d4a873d54789fe027 Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Thu, 22 Sep 2016 10:44:16 -0500 Subject: [PATCH] Fix for bug #81. Thanks to ggn for the patch! --- direct.c | 2 ++ rmac.c | 3 +++ version.h | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) 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__ -- 2.37.2