From c467a37afd2ed577c8e6e4cf2c9f7cc53347fd57 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 10 Jul 2009 11:29:37 +0000 Subject: [PATCH] (xftfont_open): Fix typo: FC_RGBA->FC_HINT_STYLE. --- src/ChangeLog | 4 ++++ src/xftfont.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index b1bbee4a491..f56c5c6e441 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-07-10 Kenichi Handa + + * xftfont.c (xftfont_open): Fix typo: FC_RGBA->FC_HINT_STYLE. + 2009-07-10 Eli Zaretskii * w32proc.c (syms_of_ntproc) : Doc diff --git a/src/xftfont.c b/src/xftfont.c index 8a12b2f24cb..849d3f1b2c5 100644 --- a/src/xftfont.c +++ b/src/xftfont.c @@ -256,7 +256,7 @@ xftfont_open (f, entity, pixel_size) else if (EQ (key, QChintstyle)) { if (INTEGERP (val)) - FcPatternAddInteger (pat, FC_RGBA, XINT (val)); + FcPatternAddInteger (pat, FC_HINT_STYLE, XINT (val)); } else if (EQ (key, QCrgba)) { -- 2.39.5