From 928c2dacc59895ff225da5ab9ea76779f59d6889 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 27 Sep 1990 17:45:34 +0000 Subject: [PATCH] Fixed problem with -I option --- lang/m2/m2mm/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/m2/m2mm/options.c b/lang/m2/m2mm/options.c index 6c0b95664..0cb8c432b 100644 --- a/lang/m2/m2mm/options.c +++ b/lang/m2/m2mm/options.c @@ -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; } }