[thai] Minor

This commit is contained in:
Behdad Esfahbod committed 2018-10-03 15:31:33 +02:00
1 parent d3d0cbd278
commit 1b8d5e9991
1 file changed
+2 -1
+2 -1
View File
@@ -357,7 +357,8 @@ preprocess_text_thai (const hb_ot_shape_plan_t *plan,
buffer->merge_out_clusters (start - 1, end);
}
}
buffer->swap_buffers ();
if (likely (buffer->successful))
buffer->swap_buffers ();
/* If font has Thai GSUB, we are done. */
if (plan->props.script == HB_SCRIPT_THAI && !plan->map.found_script[0])