]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_load_font): Clear all members of FONTP before start filling them.
authorKenichi Handa <handa@m17n.org>
Fri, 3 Oct 2003 11:36:59 +0000 (11:36 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 3 Oct 2003 11:36:59 +0000 (11:36 +0000)
src/ChangeLog
src/macterm.c

index 8bd48cb74f5021b9c3529c43269875c76e932309..db8271e3d13f65f9942d7112e320c98a45d9b329 100644 (file)
@@ -1,3 +1,17 @@
+2003-10-03  Kenichi Handa  <handa@m17n.org>
+
+       * macterm.c (x_load_font): Clear all members of FONTP before start
+       filling them.
+
+2003-10-02  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (fs_load_font): Don't set fontp->font_encoder to NULL
+       before calling find_ccl_program_func.  Call find_ccl_program_func
+       only when fontp->font_encoder is not NULL.
+
+       * xterm.c (x_load_font): Clear all members of FONTP before start
+       filling them.
+
 2003-10-03  John Paul Wallington  <jpw@gnu.org>
 
        * keymap.c (map_keymap): Don't abort when binding is a vector.
index 8c22d047939256bdd65b456c51faa9a56003d45f..fc9b890db18a225b526f9068f3c65df703c3af0f 100644 (file)
@@ -6240,6 +6240,7 @@ x_load_font (f, fontname, size)
 
     /* 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);