Version bump for last commit. ;-)
authorShamus Hammons <jlhamm@acm.org>
Tue, 13 Sep 2016 02:34:19 +0000 (21:34 -0500)
committerShamus Hammons <jlhamm@acm.org>
Tue, 13 Sep 2016 02:34:19 +0000 (21:34 -0500)
rmac.c
version.h

diff --git a/rmac.c b/rmac.c
index 280b5979e34c2b8580eeca8f3eb20d204f30929b..3d1fffa9ee285920f6838c485de9252b090712c9 100644 (file)
--- a/rmac.c
+++ b/rmac.c
@@ -410,17 +410,20 @@ int Process(int argc, char ** argv)
                else if (*argv[argno] == '+' || *argv[argno] == '~')
                {
                        int onoff = 0;
+
                        if (*argv[argno] == '+')
                                onoff = 1;
-                       if ((argv[argno][2] == 'a' || argv[argno][2] == 'A') &&
-                               (argv[argno][3] == 'l' || argv[argno][3] == 'L') &&
-                               (argv[argno][4] == 'l' || argv[argno][4] == 'L'))
+
+                       if ((argv[argno][2] == 'a' || argv[argno][2] == 'A')
+                               && (argv[argno][3] == 'l' || argv[argno][3] == 'L')
+                               && (argv[argno][4] == 'l' || argv[argno][4] == 'L'))
                                memset(optim_flags, onoff, OPT_COUNT * sizeof(int));
                        else if (argv[argno][1] == 'o' || argv[argno][1] == 'O') // Turn on specific optimisation
                        {
                                int opt_no = atoi(&argv[argno][2]);
-                               if (opt_no>=0 && opt_no<OPT_COUNT)
-                                       optim_flags[opt_no]=onoff;
+
+                               if ((opt_no >= 0) && (opt_no < OPT_COUNT))
+                                       optim_flags[opt_no] = onoff;
                                else
                                {
                                    DisplayVersion();
index 8c19728dcbd2a90a50046ccd665f11af8992de7e..c152043b7b115bb6a6016fef3a006cdf03fa1fd7 100644 (file)
--- a/version.h
+++ b/version.h
@@ -13,6 +13,6 @@
 
 #define MAJOR   1              // Major version number
 #define MINOR   4              // Minor version number
-#define PATCH   15             // Patch release number
+#define PATCH   16             // Patch release number
 
 #endif // __VERSION_H__