shithub: freetype+ttf2subf

Download patch

ref: 8b4459b85843ee201b7251d1f5328f9ee4132918
parent: f619abf6b0df403fadca3d530177f1da9e0fa5fa
author: Werner Lemberg <[email protected]>
date: Sun Mar 17 03:44:35 EDT 2013

* src/pshinter/pshpic.h (GET_PIC): Use correct container.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-17  Werner Lemberg  <[email protected]>
+
+	* src/pshinter/pshpic.h (GET_PIC): Use correct container.
+
 2013-03-15  Werner Lemberg  <[email protected]>
 
 	* include/freetype/ftmoderr.h: Fix commit from 2013-03-11.
--- a/src/pshinter/pshpic.h
+++ b/src/pshinter/pshpic.h
@@ -4,7 +4,7 @@
 /*                                                                         */
 /*    The FreeType position independent code services for pshinter module. */
 /*                                                                         */
-/*  Copyright 2009, 2012 by                                                */
+/*  Copyright 2009, 2012, 2013 by                                          */
 /*  Oran Agra and Mickey Gabel.                                            */
 /*                                                                         */
 /*  This file is part of the FreeType project, and may only be used,       */
@@ -40,7 +40,7 @@
   } PSHinterPIC;
 
 
-#define GET_PIC( lib )  ( (PSHinterPIC*)((lib)->pic_container.autofit) )
+#define GET_PIC( lib )  ( (PSHinterPIC*)( (lib)->pic_container.pshinter ) )
 
 #define PSHINTER_INTERFACE_GET  ( GET_PIC( library )->pshinter_interface )