Commit 8b4459b85843ee201b7251d1f5328f9ee4132918

Werner Lemberg 2013-03-17T07:44:35

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

diff --git a/ChangeLog b/ChangeLog
index da76adb..8d818fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-17  Werner Lemberg  <wl@gnu.org>
+
+	* src/pshinter/pshpic.h (GET_PIC): Use correct container.
+
 2013-03-15  Werner Lemberg  <wl@gnu.org>
 
 	* include/freetype/ftmoderr.h: Fix commit from 2013-03-11.
diff --git a/src/pshinter/pshpic.h b/src/pshinter/pshpic.h
index 62abf32..b46f853 100644
--- 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 @@ FT_BEGIN_HEADER
   } 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 )