From: ceriel Date: Thu, 27 Sep 1990 17:50:52 +0000 (+0000) Subject: Fixed problem with -I option X-Git-Tag: release-5-5~1503 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ce71090da31c75bbbfe309c2be1c07d0d743f1c3;p=ack.git Fixed problem with -I option --- diff --git a/lang/cem/cemcom/options.c b/lang/cem/cemcom/options.c index 5fbb30856..296ed59af 100644 --- a/lang/cem/cemcom/options.c +++ b/lang/cem/cemcom/options.c @@ -181,7 +181,7 @@ deleted, is now a debug-flag 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;