Commit 66736948 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

usp10: Correct issues with LTR logclust indexing after Multiple substitution.

parent eed756c8
......@@ -1360,9 +1360,13 @@ static void UpdateClusters(int nextIndex, int changeCount, int write_dir, int ch
int replacing_glyph = -1;
int changed = 0;
if (changeCount > 0)
target_glyph = nextIndex - ((changeCount+1)*write_dir);
{
if (write_dir > 0)
target_glyph = nextIndex - changeCount;
else
target_glyph = nextIndex + (changeCount + 1);
}
seeking_glyph = target_glyph;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment