(Fformat): Fix initialization of the array info.

This commit is contained in:
Kenichi Handa 2004-03-30 06:16:29 +00:00
parent f7f5c8fbb1
commit 3c8111fcc5
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2004-03-30 Kenichi Handa <handa@m17n.org>
* editfns.c (Fformat): Fix initialization of the array info.
2004-03-30 Kim F. Storm <storm@cua.dk>
* xterm.c (x_mouse_click_focus_ignore_position): New var.

View file

@ -3280,7 +3280,7 @@ usage: (format STRING &rest OBJECTS) */)
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]));