Fixed problem with -I option
This commit is contained in:
parent
282d93dde0
commit
928c2dacc5
|
@ -85,10 +85,10 @@ AddInclDir(text)
|
|||
(unsigned)(mDEF * 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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue