Commit 7478197e0018e12aa40f99229626d25d47ead1fe

Werner Lemberg 2007-04-03T19:39:28

formatting

diff --git a/ChangeLog b/ChangeLog
index dfdd584..c15c2aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,8 @@
 2007-04-03  David Turner  <david@freetype.org>
 
 	* 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  <david@freetype.org>
 
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index bb6d3ab..f9eceb7 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 )