]> Shamusworld >> Repos - rmac/commitdiff
Fix bug in d_incbin() (found by ggn). :-) v2.2.16
authorShamus Hammons <jlhamm@acm.org>
Mon, 20 Mar 2023 18:22:25 +0000 (13:22 -0500)
committerShamus Hammons <jlhamm@acm.org>
Mon, 20 Mar 2023 18:22:25 +0000 (13:22 -0500)
direct.c
version.h

index b3a835821ea1af580232bc9b13f6cf0b93495c3b..c403b483128231b87b3184c288b2d12ccd0f70d5 100644 (file)
--- a/direct.c
+++ b/direct.c
@@ -635,7 +635,7 @@ allright:
                        return error("expected comma after incbin filename");
                }
 
-               if (tok != EOL)
+               if (*tok != EOL)
                {
                        if (*tok != ',')
                        {
index f46e27f67d928d73eb73af47012f4187fae0e9ac..f9fe9873580c7c3a3b75a29b10b886bf2991d374 100644 (file)
--- a/version.h
+++ b/version.h
@@ -15,6 +15,6 @@
 
 #define MAJOR   2              // Major version number
 #define MINOR   2              // Minor version number
-#define PATCH   15             // Patch release number
+#define PATCH   16             // Patch release number
 
 #endif // __VERSION_H__