]> Shamusworld >> Repos - rmac/blobdiff - direct.c
Version bump. :-)
[rmac] / direct.c
index dc9747ba9174fd05d3bf61d3a21955aa00ab5fc2..6237ce2e418d715c464cedab0813ff6a1842b7c0 100644 (file)
--- a/direct.c
+++ b/direct.c
@@ -371,11 +371,12 @@ int d_incbin(void)
        // the "-d" option.
        if ((fd = open(string[tok[1]], _OPEN_INC)) < 0)
        {
-               for (i = 0; nthpath("RMACPATH", i, buf1) != 0; i++)
+               for(i=0; nthpath("RMACPATH", i, buf1)!=0; i++)
                {
                        fd = strlen(buf1);
 
-                       if (fd > 0 && buf1[fd - 1] != SLASHCHAR)        // Append path char if necessary
+                       // Append path char if necessary
+                       if (fd > 0 && buf1[fd - 1] != SLASHCHAR)
                                strcat(buf1, SLASHSTRING);
 
                        strcat(buf1, string[tok[1]]);
@@ -389,7 +390,6 @@ int d_incbin(void)
 
 allright:
 
-
        size = lseek(fd, 0L, SEEK_END);
        pos = lseek(fd, 0L, SEEK_SET);
        chcheck(size);