]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/sfnt.c (sfnt_mul_f26dot6_fixed): Correct typo in last change.
authorPo Lu <luangruo@yahoo.com>
Tue, 23 Jan 2024 01:41:41 +0000 (09:41 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 24 Jan 2024 18:31:52 +0000 (19:31 +0100)
(cherry picked from commit a3d10046d9945148c20aa1db4e6ba8ba1bc5eb3e)

src/sfnt.c

index ce7765e8f3e8e1e55758a20688da962644b4ebdf..36a7fbf3ea033ba1d372681049947f1129f19ff6 100644 (file)
@@ -6554,7 +6554,7 @@ sfnt_mul_f2dot14 (sfnt_f2dot14 a, int32_t b)
 static sfnt_f26dot6
 sfnt_mul_f26dot6_fixed (sfnt_f26dot6 x, sfnt_fixed y)
 {
-  return sfnt_mul_fixed (x, y);
+  return sfnt_mul_fixed_round (x, y);
 }
 
 /* Return the floor of the specified 26.6 fixed point value X.  */