Commit 97d56caa authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

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.
parent 9e2b0489
......@@ -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();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment