fixed -I option
authorceriel <none@none>
Fri, 29 Jun 1990 10:00:41 +0000 (10:00 +0000)
committerceriel <none@none>
Fri, 29 Jun 1990 10:00:41 +0000 (10:00 +0000)
lang/m2/m2mm/options.c

index 9b4cdd3..6c0b956 100644 (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;