From d8891a0f51d6349f8247cbb5937aa10b8b1bc688 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 1 Aug 2002 05:42:48 +0000 Subject: [PATCH] (x_load_font): Initialize fontp->fontset to -1. --- src/xterm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xterm.c b/src/xterm.c index 93aee69e307..e4b1349863d 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -14286,6 +14286,7 @@ x_load_font (f, fontname, size) 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); -- 2.39.2