Kevin Koltzau : riched20: Don't use EM_STREAMIN for paste.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Feb 6 05:10:16 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 2d0ad0944c0c8efbd836e3efafff01c331cf9283
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2d0ad0944c0c8efbd836e3efafff01c331cf9283
Author: Kevin Koltzau <kevin at plop.org>
Date: Mon Feb 6 11:26:34 2006 +0100
riched20: Don't use EM_STREAMIN for paste.
---
dlls/riched20/editor.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 3274a41..6f43cb4 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -1639,8 +1639,8 @@ LRESULT WINAPI RichEditANSIWndProc(HWND
gds.nLength = 0;
es.dwCookie = (DWORD)&gds;
es.pfnCallback = dwFormat == SF_RTF ? ME_ReadFromHGLOBALRTF : ME_ReadFromHGLOBALUnicode;
- SendMessageW(hWnd, EM_STREAMIN, dwFormat|SFF_SELECTION, (LPARAM)&es);
-
+ ME_StreamIn(editor, dwFormat|SFF_SELECTION, &es);
+
CloseClipboard();
return 0;
}
More information about the wine-cvs
mailing list