mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-29 17:44:06 +01:00
[buffer-verify] Fix OOM condition typo
Fixes https://github.com/harfbuzz/harfbuzz/issues/6097
This commit is contained in:
1 parent
34baf8d4cd
commit
c2b72d76d8
1 file changed
+1
-1
@@ -167,7 +167,7 @@ buffer_verify_unsafe_to_break (hb_buffer_t *buffer,
|
||||
|
||||
hb_buffer_append (fragment, text_buffer, text_start, text_end);
|
||||
if (!hb_shape_full (font, fragment, features, num_features, shapers) ||
|
||||
fragment->successful)
|
||||
!fragment->successful)
|
||||
return true;
|
||||
hb_buffer_append (reconstruction, fragment, 0, -1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user