| Index: src/smooth/ftspic.h
|
| diff --git a/src/smooth/ftspic.h b/src/smooth/ftspic.h
|
| index 4686f5e35bf9e010f0b77b7ace1cfe05f819bbbe..334b51c3f153d6fa69cc3e60be4b4e9f419e9b53 100644
|
| --- a/src/smooth/ftspic.h
|
| +++ b/src/smooth/ftspic.h
|
| @@ -25,18 +25,23 @@ FT_BEGIN_HEADER
|
| #include FT_INTERNAL_PIC_H
|
|
|
| #ifndef FT_CONFIG_OPTION_PIC
|
| -#define FT_GRAYS_RASTER_GET ft_grays_raster
|
| +
|
| +#define FT_GRAYS_RASTER_GET ft_grays_raster
|
|
|
| #else /* FT_CONFIG_OPTION_PIC */
|
|
|
| - typedef struct SmoothPIC_
|
| + typedef struct SmoothPIC_
|
| {
|
| - int ref_count;
|
| - FT_Raster_Funcs ft_grays_raster;
|
| + int ref_count;
|
| + FT_Raster_Funcs ft_grays_raster;
|
| +
|
| } SmoothPIC;
|
|
|
| -#define GET_PIC(lib) ((SmoothPIC*)((lib)->pic_container.smooth))
|
| -#define FT_GRAYS_RASTER_GET (GET_PIC(library)->ft_grays_raster)
|
| +
|
| +#define GET_PIC( lib ) \
|
| + ( (SmoothPIC*)( (lib)->pic_container.smooth ) )
|
| +#define FT_GRAYS_RASTER_GET ( GET_PIC( library )->ft_grays_raster )
|
| +
|
|
|
| /* see ftspic.c for the implementation */
|
| void
|
|
|