riched20: Don't use EM_STREAMOUT for copy/cut.

This commit is contained in:
Kevin Koltzau 2006-02-05 13:05:00 +01:00 committed by Alexandre Julliard
parent 2a36dd239c
commit 374106d136
1 changed files with 1 additions and 1 deletions

View File

@ -1668,7 +1668,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
gds.nLength = 0;
es.dwCookie = (DWORD)&gds;
es.pfnCallback = ME_AppendToHGLOBAL;
SendMessageW(hWnd, EM_STREAMOUT, SFF_SELECTION|SF_RTF, (LPARAM)&es);
ME_StreamOutRange(editor, SF_RTF, from, to, &es);
GlobalReAlloc(gds.hData, gds.nLength+1, 0);
SetClipboardData(CF_UNICODETEXT, hData);