Module: wine Branch: refs/heads/master Commit: 2d0ad0944c0c8efbd836e3efafff01c331cf9283 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2d0ad0944c0c8efbd836e3ef...
Author: Kevin Koltzau kevin@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; }