diff options
author | Jason Rumney <jasonr@gnu.org> | 2003-10-02 23:07:28 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2003-10-02 23:07:28 +0000 |
commit | 0d4c2dc2bbbb5ddce109803c8158e8c55c22ddf7 (patch) | |
tree | 4c3e4d76723a9c2d82007289bab4f9a9714006b1 /src/w32bdf.c | |
parent | 317e609b97458fce16ee03f191b9acce0b093964 (diff) | |
download | emacs-0d4c2dc2bbbb5ddce109803c8158e8c55c22ddf7.tar.gz |
* w32fns.c (w32_load_system_font): Clear all members of FONTP before
filling them.
* w32bdf.c (w32_load_bdf_font): Likewise.
Diffstat (limited to 'src/w32bdf.c')
-rw-r--r-- | src/w32bdf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/w32bdf.c b/src/w32bdf.c index 8f7718807a3..567030a23e8 100644 --- a/src/w32bdf.c +++ b/src/w32bdf.c @@ -768,6 +768,7 @@ struct font_info *w32_load_bdf_font (struct frame *f, char *fontname, /* Now fill in the slots of *FONTP. */ BLOCK_INPUT; + bzero (fontp, sizeof (*fontp)); fontp->font = font; fontp->font_idx = dpyinfo->n_fonts; fontp->name = (char *) xmalloc (strlen (fontname) + 1); |