Module: wine Branch: master Commit: 9106860c853511b8d5c739b69a6292eb395b5473 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9106860c853511b8d5c739b69a...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Wed Feb 17 14:15:50 2010 -0500
richedit: Prevent crash on word selection at end of paragraph.
---
dlls/riched20/caret.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c index 500b6c7..abcc73e 100644 --- a/dlls/riched20/caret.c +++ b/dlls/riched20/caret.c @@ -723,6 +723,7 @@ ME_MoveCursorWords(ME_TextEditor *editor, ME_Cursor *cursor, int nRelOfs) return FALSE;
pRun = ME_FindItemBack(pPara, diRun); + pPara = pPara->member.para.prev_para; } break; }