From e1a20fe944b84f12c791482bbeb61ffe5fe866de Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 27 Sep 1990 16:43:51 +0000 Subject: [PATCH] fixed bug in -I handling --- util/cpp/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/cpp/options.c b/util/cpp/options.c index 374309d19..f1cb0b250 100644 --- a/util/cpp/options.c +++ b/util/cpp/options.c @@ -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; } } -- 2.34.1