richedit: Prevent crash on word selection at end of paragraph.
This commit is contained in:
parent
a9a5dae064
commit
9106860c85
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue