Commit 9106860c authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

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

parent a9a5dae0
...@@ -723,6 +723,7 @@ ME_MoveCursorWords(ME_TextEditor *editor, ME_Cursor *cursor, int nRelOfs) ...@@ -723,6 +723,7 @@ ME_MoveCursorWords(ME_TextEditor *editor, ME_Cursor *cursor, int nRelOfs)
return FALSE; return FALSE;
pRun = ME_FindItemBack(pPara, diRun); pRun = ME_FindItemBack(pPara, diRun);
pPara = pPara->member.para.prev_para;
} }
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment