]> Shamusworld >> Repos - rmac/blobdiff - direct.c
Fix bug in d_incbin() (found by ggn). :-)
[rmac] / direct.c
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 != ',')
                        {