Mercurial > emacs
diff src/w32bdf.c @ 52737:6685d28af4a7
* w32fns.c (w32_load_system_font): Clear all members of FONTP before
filling them.
* w32bdf.c (w32_load_bdf_font): Likewise.
| author | Jason Rumney <jasonr@gnu.org> |
|---|---|
| date | Thu, 02 Oct 2003 23:07:28 +0000 |
| parents | 695cf19ef79e |
| children | 8787289602d1 |
line wrap: on
line diff
--- a/src/w32bdf.c Thu Oct 02 10:15:09 2003 +0000 +++ b/src/w32bdf.c Thu Oct 02 23:07:28 2003 +0000 @@ -768,6 +768,7 @@ /* 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);
