changeset 54655:0240cb0709d0

(Fformat): Fix initialization of the array info.
author Kenichi Handa <handa@m17n.org>
date Tue, 30 Mar 2004 06:15:03 +0000
parents f248c564b121
children de9d098f27a9
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Tue Mar 30 03:12:27 2004 +0000
+++ b/src/editfns.c	Tue Mar 30 06:15:03 2004 +0000
@@ -3280,7 +3280,7 @@
     int i;
     info = (struct info *) alloca (nbytes);
     bzero (info, nbytes);
-    for (i = 0; i <= nargs; i++)
+    for (i = 0; i < nargs; i++)
       info[i].start = -1;
     discarded = (char *) alloca (SBYTES (args[0]));
     bzero (discarded, SBYTES (args[0]));