From 97d56caafe42b13da2283057f818db54963347d1 Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Tue, 15 Jul 2008 16:33:22 -0400 Subject: [PATCH] richedit: Fixed regression caused by destroying the caret. The regression was caused by destroying the caret when it didn't need to be shown in the richedit control, but this affected other controls. --- dlls/riched20/caret.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c index da83c9d55d5..30bb9563668 100644 --- a/dlls/riched20/caret.c +++ b/dlls/riched20/caret.c @@ -242,8 +242,6 @@ ME_MoveCaret(ME_TextEditor *editor) x = min(x, rect.right-2); CreateCaret(editor->hWnd, NULL, 0, height); SetCaretPos(x, y); - } else { - DestroyCaret(); } }