diff --git a/ChangeLog b/ChangeLog index d4051d244..f1400c2e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-01-04 suzuki toshiya + + Formatting suggested by Sean McBride. + + * builds/mac/ftmac.c: Formatting (tab expanded). + * src/autofit/afindic.c: Ditto. + * src/base/ftcid.c: Ditto. + * src/base/ftmac.c: Ditto. + 2007-12-30 Werner Lemberg * src/smooth/ftgrays.c (gray_raster_render): Check `outline' diff --git a/builds/mac/ftmac.c b/builds/mac/ftmac.c index 7c77ddaf8..b83fecbed 100644 --- a/builds/mac/ftmac.c +++ b/builds/mac/ftmac.c @@ -76,7 +76,7 @@ #endif #include #include -#include /* PATH_MAX */ +#include /* PATH_MAX */ #else #include #include @@ -87,7 +87,7 @@ #endif #ifndef PATH_MAX -#define PATH_MAX 1024 /* same with Mac OS X's syslimits.h */ +#define PATH_MAX 1024 /* same with Mac OS X's syslimits.h */ #endif #if defined( __MWERKS__ ) && !TARGET_RT_MAC_MACHO diff --git a/src/autofit/afindic.c b/src/autofit/afindic.c index c6e7522e1..3d27f521b 100644 --- a/src/autofit/afindic.c +++ b/src/autofit/afindic.c @@ -43,7 +43,7 @@ static void af_indic_metrics_scale( AF_LatinMetrics metrics, - AF_Scaler scaler ) + AF_Scaler scaler ) { /* use CJK routines */ af_cjk_metrics_scale( metrics, scaler ); @@ -52,7 +52,7 @@ static FT_Error af_indic_hints_init( AF_GlyphHints hints, - AF_LatinMetrics metrics ) + AF_LatinMetrics metrics ) { /* use CJK routines */ return af_cjk_hints_init( hints, metrics ); @@ -61,8 +61,8 @@ static FT_Error af_indic_hints_apply( AF_GlyphHints hints, - FT_Outline* outline, - AF_LatinMetrics metrics) + FT_Outline* outline, + AF_LatinMetrics metrics) { /* use CJK routines */ return af_cjk_hints_apply( hints, outline, metrics ); diff --git a/src/base/ftcid.c b/src/base/ftcid.c index e9acbc33d..5a8b50ff2 100644 --- a/src/base/ftcid.c +++ b/src/base/ftcid.c @@ -44,7 +44,7 @@ FT_FACE_FIND_SERVICE( face, service, CID ); if ( service && service->get_ros ) - error = service->get_ros( face, &r, &o, &s ); + error = service->get_ros( face, &r, &o, &s ); } if ( registry ) diff --git a/src/base/ftmac.c b/src/base/ftmac.c index a95b93aaf..1b9ffe9f1 100644 --- a/src/base/ftmac.c +++ b/src/base/ftmac.c @@ -79,12 +79,12 @@ /* The ResourceIndex type was only added in the 10.5 SDK */ #ifndef MAC_OS_X_VERSION_10_5 -typedef short ResourceIndex; +typedef short ResourceIndex; #endif #include #include -#include /* PATH_MAX */ +#include /* PATH_MAX */ #define FT_DEPRECATED_ATTRIBUTE @@ -139,7 +139,7 @@ typedef short ResourceIndex; OSStatus err; err = ATSFontGetFileReference( ats_font_id, ats_font_ref ); - + return err; #elif __LP64__ /* No 64bit Carbon API on legacy platforms */ FT_UNUSED( ats_font_id );