[layout] Use Proxy::inplace instead of table index check

Equivalent.
This commit is contained in:
Behdad Esfahbod committed 2021-07-12 16:59:34 -06:00
1 parent 431f164003
commit 62b441e6ff
1 file changed
+2 -1
+2 -1
View File
@@ -1886,8 +1886,9 @@ apply_string (OT::hb_ot_apply_context_t *c,
if (likely (!lookup.is_reverse ()))
{
/* in/out forward substitution/positioning */
if (Proxy::table_index == 0u)
if (!Proxy::inplace)
buffer->clear_output ();
buffer->idx = 0;
bool ret;