Commit 3b8db6694128274acc859da0b130fd85e55e52ac

Werner Lemberg 2005-12-06T10:47:44

Fix ChangeLog and source code comment.

diff --git a/ChangeLog b/ChangeLog
index d65920f..16fe7ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,7 +6,7 @@
 
 2005-12-02  Taek Kwan(TK) Lee  <taeklee@gmail.com>
 
-	* src/type42/t42objs.x (T42_Face_Init): Replace call to
+	* src/type42/t42objs.c (T42_Face_Init): Replace call to
 	FT_New_Memory_Face with call to FT_Open_Face to pass `params'.
 
 2005-11-30  Werner Lemberg  <wl@gnu.org>
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index 3e31da0..5199e29 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -2112,8 +2112,8 @@
     if ( pixel_height < 1 )
       pixel_height = 1;
 
-    /* use `>=' to avoid potention compiler warning on 16bit platforms */
-    if ( pixel_width  >= 0xFFFFU )
+    /* use `>=' to avoid potential compiler warnings on 16bit platforms */
+    if ( pixel_width >= 0xFFFFU )
       pixel_width  = 0xFFFFU;
     if ( pixel_height >= 0xFFFFU )
       pixel_height = 0xFFFFU;