Commit 87163410 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

riched20: Only retrieve the next row.

parent 41dd4212
......@@ -930,8 +930,8 @@ static BOOL ME_FindPixelPos(ME_TextEditor *editor, int x, int y,
p = ME_FindItemFwd(p, diRun);
break;
}
pp = ME_FindItemFwd(p, diStartRowOrParagraphOrEnd);
if (pp->type != diStartRow)
pp = ME_FindItemFwd(p, diStartRow);
if (!pp)
{
p = ME_FindItemFwd(p, diRun);
break;
......
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