Mercurial > emacs
diff src/macterm.c @ 52742:7f9bdf6cf89b
(x_load_font): Clear all members of FONTP before start filling them.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Fri, 03 Oct 2003 11:36:04 +0000 |
| parents | 695cf19ef79e |
| children | 7d76fa8c5eda |
line wrap: on
line diff
--- a/src/macterm.c Fri Oct 03 08:30:55 2003 +0000 +++ b/src/macterm.c Fri Oct 03 11:36:04 2003 +0000 @@ -6240,6 +6240,7 @@ /* Now fill in the slots of *FONTP. */ BLOCK_INPUT; + bzero (fontp, sizeof (*fontp)); fontp->font = font; fontp->font_idx = i; fontp->name = (char *) xmalloc (strlen (font->fontname) + 1);
