shithub: freetype+ttf2subf

Download patch

ref: 3b8db6694128274acc859da0b130fd85e55e52ac
parent: a3690cdadd5bb8fb0ddfa194124d9808a85d1b7e
author: Werner Lemberg <[email protected]>
date: Tue Dec 6 05:47:44 EST 2005

Fix ChangeLog and source code comment.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,7 +6,7 @@
 
 2005-12-02  Taek Kwan(TK) Lee  <[email protected]>
 
-	* 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  <[email protected]>
--- 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;