fixed -I option

This commit is contained in:
ceriel 1990-06-29 10:00:41 +00:00
parent 266d247470
commit cabefb9d9e

View file

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