Index: dlls/riched20/editor.c =================================================================== RCS file: /cvstrees/crossover/office/wine/dlls/riched20/editor.c,v retrieving revision 1.1.1.17 diff -u -p -r1.1.1.17 editor.c --- dlls/riched20/editor.c 15 Sep 2005 15:40:27 -0000 1.1.1.17 +++ dlls/riched20/editor.c 28 Sep 2005 15:53:30 -0000 @@ -1634,6 +1634,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND item = ME_FindItemAtOffset(editor, diRun, wParam, NULL); item = ME_RowStart(item); item_end = ME_RowEnd(item); + item = ME_FindItemFwd(item, diRun); if (!item_end) { /* Empty buffer, no runs */ Index: dlls/riched20/row.c =================================================================== RCS file: /cvstrees/crossover/office/wine/dlls/riched20/row.c,v retrieving revision 1.1.1.3 diff -u -p -r1.1.1.3 row.c --- dlls/riched20/row.c 30 Aug 2005 12:43:11 -0000 1.1.1.3 +++ dlls/riched20/row.c 28 Sep 2005 15:53:30 -0000 @@ -80,7 +80,7 @@ ME_DisplayItem *ME_RowStart(ME_DisplayIt ME_DisplayItem *ME_RowEnd(ME_DisplayItem *item) { ME_DisplayItem *item2 = ME_FindItemFwd(item, diStartRowOrParagraphOrEnd); if (!item2) return NULL; - return ME_FindItemBack(item, diRun); + return ME_FindItemBack(item2, diRun); }