changeset 90511:2cd8e24f656a

(xftfont_open): Set charset related members to -1.
author Kenichi Handa <handa@m17n.org>
date Mon, 03 Jul 2006 00:52:16 +0000
parents 69dc5ab6d693
children fb8ab271951f
files src/xftfont.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xftfont.c	Mon Jul 03 00:51:17 2006 +0000
+++ b/src/xftfont.c	Mon Jul 03 00:52:16 2006 +0000
@@ -261,6 +261,7 @@
   font->font.full_name = font->font.name = name;
   font->file_name = (char *) file;
   font->font.size = xftfont->max_advance_width;
+  font->font.charset = font->encoding_charset = font->repertory_charset = -1;
   font->ascent = xftfont->ascent;
   font->descent = xftfont->descent;
   font->font.height = xftfont->ascent + xftfont->descent;