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

Equivalent.
This commit is contained in:
Behdad Esfahbod 2021-07-12 16:59:34 -06:00
parent 431f164003
commit 62b441e6ff
1 changed files with 2 additions and 1 deletions

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;