From 8b4459b85843ee201b7251d1f5328f9ee4132918 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sun, 17 Mar 2013 07:44:35 +0100 Subject: [PATCH] * src/pshinter/pshpic.h (GET_PIC): Use correct container. --- ChangeLog | 4 ++++ src/pshinter/pshpic.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index da76adb27..8d818fe25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-03-17 Werner Lemberg + + * src/pshinter/pshpic.h (GET_PIC): Use correct container. + 2013-03-15 Werner Lemberg * include/freetype/ftmoderr.h: Fix commit from 2013-03-11. diff --git a/src/pshinter/pshpic.h b/src/pshinter/pshpic.h index 62abf322c..b46f85311 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 )