Commit 27e3e1a8 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

usp10: Correct error in EDIT_GetLineRect in index for ScriptStringCPtoX.

parent cd6e9bd1
......@@ -1198,7 +1198,7 @@ static void EDIT_GetLineRect(EDITSTATE *es, INT line, INT scol, INT ecol, LPRECT
pt2 = (ecol == -1) ? es->format_rect.right : (short)LOWORD(EDIT_EM_PosFromChar(es, line_index + ecol, TRUE));
if (ssa)
{
ScriptStringCPtoX(ssa, line_index + scol, FALSE, &pt3);
ScriptStringCPtoX(ssa, scol, FALSE, &pt3);
pt3+=es->format_rect.left;
}
else pt3 = pt1;
......
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