mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[subset] fix incorrect handling of return value in check_success in the error case.
This commit is contained in:
parent
05e845c49a
commit
cdba5d44c2
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ struct hb_serialize_context_t
|
|||
hb_serialize_error_t err_type = HB_SERIALIZE_ERROR_OTHER)
|
||||
{
|
||||
return successful ()
|
||||
&& (success || err (err_type));
|
||||
&& (success || !err (err_type));
|
||||
}
|
||||
|
||||
template <typename T1, typename T2>
|
||||
|
|
Loading…
Add table
Reference in a new issue