riched20: Don't use EM_STREAMIN for paste.

This commit is contained in:
Kevin Koltzau 2006-02-06 11:26:34 +01:00 committed by Alexandre Julliard
parent 78ecf18156
commit 2d0ad0944c

View file

@ -1639,8 +1639,8 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
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;
}