From: Kenichi Handa Date: Tue, 5 Jan 2010 11:49:19 +0000 (+0900) Subject: fontset.c (fontset_find_font): Fix getting the frame pointer. X-Git-Tag: emacs-pretest-23.1.92~87^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2a1ef5be4980dee796a0f7552370e70a298c0b3b;p=emacs.git fontset.c (fontset_find_font): Fix getting the frame pointer. --- diff --git a/src/ChangeLog b/src/ChangeLog index 6818ec395a4..147ac60fce4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-01-05 Kenichi Handa + + * fontset.c (fontset_find_font): Fix getting the frame pointer. + 2010-01-04 Stefan Monnier * dbusbind.c (xd_remove_watch): Avoid trying to convert a void* to diff --git a/src/fontset.c b/src/fontset.c index 30620e511c8..b62c779be70 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -533,8 +533,8 @@ fontset_find_font (fontset, c, face, id, fallback) { Lisp_Object vec, font_group; int i, charset_matched = 0, found_index; - FRAME_PTR f = (FRAMEP (FONTSET_FRAME (fontset))) - ? XFRAME (selected_frame) : XFRAME (FONTSET_FRAME (fontset)); + FRAME_PTR f = (FRAMEP (FONTSET_FRAME (fontset)) + ? XFRAME (FONTSET_FRAME (fontset)) : XFRAME (selected_frame)); Lisp_Object rfont_def; font_group = fontset_get_font_group (fontset, fallback ? -1 : c);