fixed bug in -I handling

This commit is contained in:
ceriel 1990-09-27 16:43:51 +00:00
parent 337d0e5629
commit 2e281b6ca3

View File

@ -93,10 +93,10 @@ do_option(text)
Realloc(inctable,(inc_max+=10)*sizeof(char *));
}
for(i = inc_pos++; i <= inc_total; i++) {
for(i = inc_pos++; i < inc_total; i++) {
char *tmp = inctable[i];
inctable[i++] = new;
inctable[i] = new;
new = tmp;
}
}