richedit: Prevent crash on word selection at end of paragraph.

oldstable
Dylan Smith 2010-02-17 14:15:50 -05:00 committed by Alexandre Julliard
parent a9a5dae064
commit 9106860c85
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}