Module: wine Branch: master Commit: 97d56caafe42b13da2283057f818db54963347d1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=97d56caafe42b13da2283057f8...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Tue Jul 15 16:33:22 2008 -0400
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 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c index da83c9d..30bb956 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(); } }