Formatting.

This commit is contained in:
Werner Lemberg 2017-09-14 12:09:37 +02:00
parent b757ddb162
commit 7cb6f2173a
1 changed files with 24 additions and 28 deletions

52
src/cache/ftcbasic.c vendored
View File

@ -304,13 +304,12 @@
if ( anode ) if ( anode )
*anode = NULL; *anode = NULL;
/* /*
* internal FTC_BasicAttr->load_flags is typed FT_UInt, * Internal `FTC_BasicAttr->load_flags' is of type `FT_UInt',
* but public FT_ImageType->flags is typed FT_Int32 * but public `FT_ImageType->flags' is of type `FT_Int32'
* *
* On 16bit systems, higher bits of type->flags * On 16bit systems, higher bits of type->flags cannot be handled.
* could not be handled. */
*/
#if 0xFFFFFFFFUL > FT_UINT_MAX #if 0xFFFFFFFFUL > FT_UINT_MAX
if ( (type->flags & (FT_ULong)FT_UINT_MAX) ) if ( (type->flags & (FT_ULong)FT_UINT_MAX) )
FT_TRACE1(( "FTC_ImageCache_Lookup:" FT_TRACE1(( "FTC_ImageCache_Lookup:"
@ -386,13 +385,12 @@
if ( anode ) if ( anode )
*anode = NULL; *anode = NULL;
/* /*
* internal FTC_BasicAttr->load_flags is typed FT_UInt, * Internal `FTC_BasicAttr->load_flags' is of type `FT_UInt',
* but public FT_Face->face_flags is typed FT_Long. * but public `FT_Face->face_flags' is of type `FT_Long'.
* *
* On long > int systems, higher bits of load_flags * On long > int systems, higher bits of load_flags cannot be handled.
* could not be handled. */
*/
#if FT_ULONG_MAX > FT_UINT_MAX #if FT_ULONG_MAX > FT_UINT_MAX
if ( load_flags > FT_UINT_MAX ) if ( load_flags > FT_UINT_MAX )
FT_TRACE1(( "FTC_ImageCache_LookupScaler:" FT_TRACE1(( "FTC_ImageCache_LookupScaler:"
@ -504,13 +502,12 @@
*ansbit = NULL; *ansbit = NULL;
/* /*
* internal FTC_BasicAttr->load_flags is typed FT_UInt, * Internal `FTC_BasicAttr->load_flags' is of type `FT_UInt',
* but public FT_ImageType->flags is typed FT_Int32 * but public `FT_ImageType->flags' is of type `FT_Int32'.
* *
* On 16bit systems, higher bits of type->flags * On 16bit systems, higher bits of type->flags cannot be handled.
* could not be handled. */
*/
#if 0xFFFFFFFFUL > FT_UINT_MAX #if 0xFFFFFFFFUL > FT_UINT_MAX
if ( (type->flags & (FT_ULong)FT_UINT_MAX) ) if ( (type->flags & (FT_ULong)FT_UINT_MAX) )
FT_TRACE1(( "FTC_ImageCache_Lookup:" FT_TRACE1(( "FTC_ImageCache_Lookup:"
@ -588,13 +585,12 @@
*ansbit = NULL; *ansbit = NULL;
/* /*
* internal FTC_BasicAttr->load_flags is typed FT_UInt, * Internal `FTC_BasicAttr->load_flags' is of type `FT_UInt',
* but public FT_Face->face_flags is typed FT_Long. * but public `FT_Face->face_flags' is of type `FT_Long'.
* *
* On long > int systems, higher bits of load_flags * On long > int systems, higher bits of load_flags cannot be handled.
* could not be handled. */
*/
#if FT_ULONG_MAX > FT_UINT_MAX #if FT_ULONG_MAX > FT_UINT_MAX
if ( load_flags > FT_UINT_MAX ) if ( load_flags > FT_UINT_MAX )
FT_TRACE1(( "FTC_ImageCache_LookupScaler:" FT_TRACE1(( "FTC_ImageCache_LookupScaler:"