[buffer] Fix reverse_group() to reverse() at the end
This commit is contained in:
parent
21c4fc1011
commit
5b995526f7
|
@ -216,8 +216,6 @@ struct hb_buffer_t
|
|||
if (unlikely (!len))
|
||||
return;
|
||||
|
||||
reverse ();
|
||||
|
||||
unsigned start = 0;
|
||||
unsigned i;
|
||||
for (i = 1; i < len; i++)
|
||||
|
@ -233,6 +231,8 @@ struct hb_buffer_t
|
|||
if (merge_clusters)
|
||||
this->merge_clusters (start, i);
|
||||
reverse_range (start, i);
|
||||
|
||||
reverse ();
|
||||
}
|
||||
|
||||
template <typename FuncType>
|
||||
|
|
Loading…
Reference in New Issue