mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
riched20: Don't use EM_STREAMIN for paste.
This commit is contained in:
parent
78ecf18156
commit
2d0ad0944c
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue