]> git.eshelyaron.com Git - emacs.git/commitdiff
(uniscribe_open): Pass font_object to w32font_open_internal.
authorJason Rumney <jasonr@gnu.org>
Fri, 2 May 2008 10:46:56 +0000 (10:46 +0000)
committerJason Rumney <jasonr@gnu.org>
Fri, 2 May 2008 10:46:56 +0000 (10:46 +0000)
src/w32uniscribe.c

index 4b32b02f02d95c3ceab9b5bd7b19855b8548ec5e..2348bdaf2eb55320a79dfeece8916f6d3b5cc343 100644 (file)
@@ -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;
     }