* src/base/ftbdf.c (FT_Get_BDF_Property): Check for valid
`get_interface'.
This commit is contained in:
parent
fcc5c9115f
commit
8b61525b9a
|
@ -1,3 +1,8 @@
|
||||||
|
2003-04-23 Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||||
|
|
||||||
|
* src/base/ftbdf.c (FT_Get_BDF_Property): Check for valid
|
||||||
|
`get_interface'.
|
||||||
|
|
||||||
2003-04-23 Paul Miller <paulm@profoundeffects.com>
|
2003-04-23 Paul Miller <paulm@profoundeffects.com>
|
||||||
|
|
||||||
* src/base/ftmac.c (parse_fond): Fix handling of style names.
|
* src/base/ftmac.c (parse_fond): Fix handling of style names.
|
||||||
|
|
|
@ -90,11 +90,15 @@
|
||||||
BDF_GetPropertyFunc func;
|
BDF_GetPropertyFunc func;
|
||||||
|
|
||||||
|
|
||||||
func = (BDF_GetPropertyFunc)driver->root.clazz->get_interface(
|
if ( driver->root.clazz->get_interface )
|
||||||
FT_MODULE( driver ), "get_bdf_property" );
|
{
|
||||||
if ( func )
|
func = (BDF_GetPropertyFunc)driver->root.clazz->get_interface(
|
||||||
error = func( face, prop_name, aproperty );
|
FT_MODULE( driver ), "get_bdf_property" );
|
||||||
|
if ( func )
|
||||||
|
error = func( face, prop_name, aproperty );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue