Module: wine Branch: master Commit: 308582b4f5fc1bedeebf3ffdec88760a988324f2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=308582b4f5fc1bedeebf3ffdec...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Mon Jun 23 17:09:44 2008 -0400
richedit: Allow cursor to move over trailing spaces in wrapped lines.
---
dlls/riched20/caret.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c index 3451301..0ae034c 100644 --- a/dlls/riched20/caret.c +++ b/dlls/riched20/caret.c @@ -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, ¶->member.para, &run->member.run, pCursor->nOffset, row->member.row.nLMargin); }