changeset 88967:b604878589f4

(x_load_font): Initialize fontp->fontset to -1.
author Kenichi Handa <handa@m17n.org>
date Thu, 01 Aug 2002 05:42:48 +0000
parents 486c9c697d7f
children a35b7b45baa3
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed Jul 31 22:59:53 2002 +0000
+++ b/src/xterm.c	Thu Aug 01 05:42:48 2002 +0000
@@ -14286,6 +14286,7 @@
     BLOCK_INPUT;
     fontp->font = font;
     fontp->font_idx = i;
+    fontp->charset = -1;	/* fs_load_font sets it.  */
     fontp->name = (char *) xmalloc (strlen (fontname) + 1);
     bcopy (fontname, fontp->name, strlen (fontname) + 1);