diff --git a/ChangeLog b/ChangeLog index dfdd584fb..c15c2aa09 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,8 @@ 2007-04-03 David Turner * src/base/ftobjs.c (FT_Set_Char_Size): As suggested by James Cloos, - if one of the resolution is 0, treat it as if it was the same than - the other value. + if one of the resolution values is 0, treat it as if it were the + same as the other value. 2007-04-02 David Turner diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index bb6d3abc9..f9eceb7fb 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -2425,9 +2425,9 @@ else if ( !char_height ) char_height = char_width; - if (!horz_resolution) + if ( !horz_resolution ) horz_resolution = vert_resolution; - else if (!vert_resolution) + else if ( !vert_resolution ) vert_resolution = horz_resolution; if ( char_width < 1 * 64 )