[layout] Fix return value of chosen_script when matching fails
This commit is contained in:
parent
d06976e68f
commit
2fd8e36ea5
|
@ -586,7 +586,7 @@ hb_ot_layout_table_select_script (hb_face_t *face,
|
|||
|
||||
if (script_index) *script_index = HB_OT_LAYOUT_NO_SCRIPT_INDEX;
|
||||
if (chosen_script)
|
||||
*chosen_script = HB_OT_LAYOUT_NO_SCRIPT_INDEX;
|
||||
*chosen_script = HB_TAG_NONE;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue