mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
richedit: Initialize all the cursors at editor creation.
This commit is contained in:
parent
a3597cbe3b
commit
f33a27517b
@ -1172,6 +1172,8 @@ ME_TextEditor *ME_MakeEditor(HWND hWnd) {
|
||||
ed->pCursors[0].nOffset = 0;
|
||||
ed->pCursors[1].pRun = ME_FindItemFwd(ed->pBuffer->pFirst, diRun);
|
||||
ed->pCursors[1].nOffset = 0;
|
||||
ed->pCursors[2] = ed->pCursors[0];
|
||||
ed->pCursors[3] = ed->pCursors[1];
|
||||
ed->nLastTotalLength = ed->nTotalLength = 0;
|
||||
ed->nHeight = 0;
|
||||
ed->nUDArrowX = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user