Kevin Koltzau : riched20: Don't use EM_STREAMOUT for copy/cut.
Alexandre Julliard
julliard at wine.codeweavers.com
Sun Feb 5 06:52:46 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 374106d1367062acff2c41a77193ba50ff6b6de6
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=374106d1367062acff2c41a77193ba50ff6b6de6
Author: Kevin Koltzau <kevin at plop.org>
Date: Sun Feb 5 13:05:00 2006 +0100
riched20: Don't use EM_STREAMOUT for copy/cut.
---
dlls/riched20/editor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index b9ce162..3274a41 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -1668,7 +1668,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND
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);
More information about the wine-cvs
mailing list