Fixed problems with -I and with value conformant arrays

This commit is contained in:
ceriel
1990-09-27 17:01:01 +00:00
parent 03a65131fc
commit 282d93dde0
4 changed files with 12 additions and 5 deletions

View File

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