[gsubgpos] Fix bug in cached ChainContextFormat2 application

This commit is contained in:
Behdad Esfahbod 2023-01-27 15:37:11 -07:00
parent d2279a204f
commit 49d75ef331
1 changed files with 1 additions and 1 deletions

View File

@ -3538,7 +3538,7 @@ struct ChainContextFormat2_5
*/
struct ChainContextApplyLookupContext lookup_context = {
{{cached && &backtrack_class_def == &input_class_def ? match_class_cached : match_class,
{{cached && &backtrack_class_def == &lookahead_class_def ? match_class_cached : match_class,
cached && &input_class_def == &lookahead_class_def ? match_class_cached : match_class,
cached ? match_class_cached : match_class}},
{&backtrack_class_def,