Mercurial > emacs
changeset 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 | e6724841a266 |
children | f093806b2b0d |
files | src/macterm.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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);