From 0f6c58c1134d9040570f1bde16e013aaa7e6ed80 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Fri, 10 Nov 2006 15:41:16 +0900 Subject: [PATCH] riched20: Set the correct number of initialized cursors. --- dlls/riched20/editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index edc31806c36..d8fa7aed46a 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -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; -- 2.11.4.GIT