summaryrefslogtreecommitdiff
path: root/pango/opentype/hb-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/hb-private.h')
-rw-r--r--pango/opentype/hb-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/opentype/hb-private.h b/pango/opentype/hb-private.h
index b17b24a0..92e514f7 100644
--- a/pango/opentype/hb-private.h
+++ b/pango/opentype/hb-private.h
@@ -207,7 +207,7 @@ _hb_popcount32 (uint32_t mask)
/* Multiplies a 16dot16 value by another value, then truncates the result */
-#define _hb_16dot16_mul_trunc(A,B) ((int64_t) (A) * (B) / 0x10000)
+#define _hb_16dot16_mul_round(A,B) (((int64_t) (A) * (B) + 0x8000) / 0x10000)
#include "hb-object-private.h"