richedit: Allow cursor to move over trailing spaces in wrapped lines.

This commit is contained in:
Dylan Smith 2008-06-23 17:09:44 -04:00 committed by Alexandre Julliard
parent 163e9d1d02
commit 308582b4f5
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ ME_GetCursorCoordinates(ME_TextEditor *editor, ME_Cursor *pCursor,
row->member.row.nLMargin);
}
}
if (pCursor->nOffset && !(run->member.run.nFlags & MERF_SKIPPED)) {
if (pCursor->nOffset) {
sz = ME_GetRunSize(&c, &para->member.para, &run->member.run, pCursor->nOffset,
row->member.row.nLMargin);
}