From 6c27d9d6244303754e111eccc7c1a42df5b9bca1 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Mon, 4 Jul 2022 09:11:15 +0300 Subject: HarfBuzz: Update to version 4.4.1 --- thirdparty/harfbuzz/src/hb-subset-cff-common.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'thirdparty/harfbuzz/src/hb-subset-cff-common.hh') diff --git a/thirdparty/harfbuzz/src/hb-subset-cff-common.hh b/thirdparty/harfbuzz/src/hb-subset-cff-common.hh index ae155b4e3c..bb9f27eec1 100644 --- a/thirdparty/harfbuzz/src/hb-subset-cff-common.hh +++ b/thirdparty/harfbuzz/src/hb-subset-cff-common.hh @@ -44,7 +44,8 @@ struct str_encoder_t void encode_byte (unsigned char b) { - if (unlikely (buff.push (b) == &Crap (unsigned char))) + buff.push (b); + if (unlikely (buff.in_error ())) set_error (); } -- cgit v1.2.3