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.
This commit is contained in:
Dylan Smith 2008-07-15 16:33:22 -04:00 committed by Alexandre Julliard
parent 9e2b04893c
commit 97d56caafe
1 changed files with 0 additions and 2 deletions

View File

@ -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();
}
}