Minor change in ftstroke.c.

* src/base/ftstroke.c (FT_StrokerRec): Replace `memory' member with
`library' needed for PIC version.
Update all callers.
This commit is contained in:
Oran Agra 2009-04-05 17:30:14 +03:00
parent d8f4b57fbe
commit 3da7e68f75
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2009-04-05 Oran Agra <oran@monfort.co.il>
Minor change in ftstroke.c.
* src/base/ftstroke.c (FT_StrokerRec): Replace `memory' member with
`library' needed for PIC version.
Update all callers.
2009-04-04 Werner Lemberg <wl@gnu.org>
ftnames.c -> ftsnames.c

View File

@ -706,7 +706,7 @@
FT_Bool valid;
FT_StrokeBorderRec borders[2];
FT_Memory memory;
FT_Library library;
} FT_StrokerRec;
@ -729,7 +729,7 @@
if ( !FT_NEW( stroker ) )
{
stroker->memory = memory;
stroker->library = library;
ft_stroke_border_init( &stroker->borders[0], memory );
ft_stroke_border_init( &stroker->borders[1], memory );
@ -777,13 +777,13 @@
{
if ( stroker )
{
FT_Memory memory = stroker->memory;
FT_Memory memory = stroker->library->memory;
ft_stroke_border_done( &stroker->borders[0] );
ft_stroke_border_done( &stroker->borders[1] );
stroker->memory = NULL;
stroker->library = NULL;
FT_FREE( stroker );
}
}