refix short count

This commit is contained in:
Michiharu Ariza 2019-03-21 10:36:53 -07:00
parent 5f15fca662
commit 0593a95e28
1 changed files with 1 additions and 1 deletions

View File

@ -1763,7 +1763,7 @@ struct VarData
unsigned int old = remap.to_old (i);
if (unlikely (old >= src->itemCount)) return_trace (false);
int16_t delta = get_item_delta (old, short_count - 1);
if (-128 <= delta && delta <= 127) goto found_short;
if (delta < -128 || 127 < delta) goto found_short;
}
found_short: