Mercurial > emacs
changeset 52728:5c843bc4a3de
(x_load_font): Clear all members of FONTP before start filling them.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 02 Oct 2003 02:05:42 +0000 |
parents | 0470caf8112d |
children | 124a3516f4db |
files | src/xterm.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Thu Oct 02 01:42:11 2003 +0000 +++ b/src/xterm.c Thu Oct 02 02:05:42 2003 +0000 @@ -9869,6 +9869,7 @@ /* Now fill in the slots of *FONTP. */ BLOCK_INPUT; + bzero (font, sizeof (*font)); fontp->font = font; fontp->font_idx = i; fontp->name = (char *) xmalloc (strlen (fontname) + 1);