mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:18:20 +00:00
riched20: Set the correct number of initialized cursors.
This commit is contained in:
parent
32f044c4cf
commit
0f6c58c113
|
@ -1116,7 +1116,7 @@ ME_TextEditor *ME_MakeEditor(HWND hWnd) {
|
|||
ME_MakeFirstParagraph(hDC, ed->pBuffer);
|
||||
ReleaseDC(hWnd, hDC);
|
||||
ed->bCaretShown = FALSE;
|
||||
ed->nCursors = 3;
|
||||
ed->nCursors = 2;
|
||||
ed->pCursors = ALLOC_N_OBJ(ME_Cursor, ed->nCursors);
|
||||
ed->pCursors[0].pRun = ME_FindItemFwd(ed->pBuffer->pFirst, diRun);
|
||||
ed->pCursors[0].nOffset = 0;
|
||||
|
|
Loading…
Reference in a new issue