Fixed problem with -I option

This commit is contained in:
ceriel 1990-09-27 17:45:34 +00:00
parent 282d93dde0
commit 928c2dacc5

View file

@ -85,10 +85,10 @@ AddInclDir(text)
(unsigned)(mDEF * sizeof(char *))); (unsigned)(mDEF * sizeof(char *)));
} }
for (i = ndirs++; i <= nDEF; i++) { for (i = ndirs++; i < nDEF; i++) {
char *tmp = DEFPATH[i]; char *tmp = DEFPATH[i];
DEFPATH[i++] = new; DEFPATH[i] = new;
new = tmp; new = tmp;
} }
} }