From: Jason Rumney Date: Fri, 2 May 2008 10:46:56 +0000 (+0000) Subject: (uniscribe_open): Pass font_object to w32font_open_internal. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b284dab5edab2c6d38b58b6369bc00d8b4a112c8;p=emacs.git (uniscribe_open): Pass font_object to w32font_open_internal. --- diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c index 4b32b02f02d..2348bdaf2eb 100644 --- a/src/w32uniscribe.c +++ b/src/w32uniscribe.c @@ -122,8 +122,7 @@ uniscribe_open (f, font_entity, pixel_size) struct uniscribe_font_info *uniscribe_font = (struct uniscribe_font_info *) XFONT_OBJECT (font_object); - if (!w32font_open_internal (f, font_entity, pixel_size, - (struct w32font_info *) uniscribe_font)) + if (!w32font_open_internal (f, font_entity, pixel_size, font_object)) { return Qnil; }