shithub: freetype+ttf2subf

Download patch

ref: 2c4fba9c91d31cacd7db3a684acee34276c8b5b5
parent: 9038837ee23460ce98715fe0f68497e7dcb69174
author: Werner Lemberg <[email protected]>
date: Sat Jun 10 07:03:41 EDT 2017

* src/base/ftcalc.c (FT_DivFix): Fix embarrassing typo.

Bug introduced 2017-05-28.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-06-10  Werner Lemberg  <[email protected]>
+
+	* src/base/ftcalc.c (FT_DivFix): Fix embarrassing typo.
+
+	Bug introduced 2017-05-28.
+
 2017-06-09  Werner Lemberg  <[email protected]>
 
 	[cff, truetype] Integer overflows.
--- a/src/base/ftcalc.c
+++ b/src/base/ftcalc.c
@@ -262,7 +262,7 @@
     b = (FT_UInt64)b_;
 
     FT_MOVE_SIGN( a_, a, s );
-    FT_MOVE_SIGN( b_, a, s );
+    FT_MOVE_SIGN( b_, b, s );
 
     q = b > 0 ? ( ( a << 16 ) + ( b >> 1 ) ) / b
               : 0x7FFFFFFFUL;