Commit a50a045890a5a242b11fef0352bc88dcb6c7e876

Werner Lemberg 2015-07-28T07:37:19

Minor.

diff --git a/src/base/ftcalc.c b/src/base/ftcalc.c
index 766194b..e31eed2 100644
--- a/src/base/ftcalc.c
+++ b/src/base/ftcalc.c
@@ -817,10 +817,10 @@
       return x;
     }
 
-    /* estimate length and prenormalize by shifting so that */
+    /* Estimate length and prenormalize by shifting so that */
     /* the new approximate length is between 2/3 and 4/3.   */
-    /* The magic contsnt 0xAAAAAAAAUL (2/3 of 2^32) helps   */
-    /* to achive this in 16.16 fixed-point representation.  */
+    /* The magic constant 0xAAAAAAAAUL (2/3 of 2^32) helps  */
+    /* achieve this in 16.16 fixed-point representation.    */
     l = x > y ? x + ( y >> 1 )
               : y + ( x >> 1 );
 
@@ -832,7 +832,7 @@
       x <<= shift;
       y <<= shift;
 
-      /* reestimate length for tiny vectors */
+      /* re-estimate length for tiny vectors */
       l = x > y ? x + ( y >> 1 )
                 : y + ( x >> 1 );
     }
@@ -860,6 +860,7 @@
       z = z * ( ( 0x10000 + b ) >> 8 ) / 0x10000;
 
       b += z;
+
     } while ( z > 0 );
 
     vector->x = sx < 0 ? -(FT_Pos)u : (FT_Pos)u;