richedit: Use ME_EnsureVisible to implement EM_SCROLLCARET.
Dylan Smith
dylan.ah.smith at gmail.com
Mon Dec 15 03:31:43 CST 2008
The code for the ME_EnsureVisible function does exactly what
EM_SCROLLCARET does, yet this code is duplicated in order to handle this
message. It is simpler to just use the existing function to implement
the message, and avoid internally sending the EM_SCROLLCARET when this
function is available.
---
dlls/riched20/caret.c | 12 +++---------
dlls/riched20/editor.c | 17 +----------------
2 files changed, 4 insertions(+), 25 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Use-ME_EnsureVisible-to-implement-EM_SC.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081215/3b9625c6/attachment-0001.txt
More information about the wine-patches
mailing list