Nikolay Sivov : riched20: Avoid extra host calls during CreateTextServices ().
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jun 2 07:50:06 CDT 2015
Module: wine
Branch: master
Commit: b75cd7e2f0f6f40655f690695ab0843fce472e88
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b75cd7e2f0f6f40655f690695ab0843fce472e88
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sat May 30 10:01:45 2015 +0300
riched20: Avoid extra host calls during CreateTextServices().
---
dlls/riched20/txtsrv.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/riched20/txtsrv.c b/dlls/riched20/txtsrv.c
index e9c1061..1bf9cf2 100644
--- a/dlls/riched20/txtsrv.c
+++ b/dlls/riched20/txtsrv.c
@@ -399,7 +399,7 @@ static const ITextServicesVtbl textservices_vtbl =
HRESULT WINAPI CreateTextServices(IUnknown *pUnkOuter, ITextHost *pITextHost, IUnknown **ppUnk)
{
ITextServicesImpl *ITextImpl;
- HRESULT hres;
+
TRACE("%p %p --> %p\n", pUnkOuter, pITextHost, ppUnk);
if (pITextHost == NULL)
return E_POINTER;
@@ -421,8 +421,6 @@ HRESULT WINAPI CreateTextServices(IUnknown *pUnkOuter, ITextHost *pITextHost, I
ITextImpl->editor->rcFormat.right = 0;
ITextImpl->editor->rcFormat.bottom = 0;
- ME_HandleMessage(ITextImpl->editor, WM_CREATE, 0, 0, TRUE, &hres);
-
if (pUnkOuter)
ITextImpl->outer_unk = pUnkOuter;
else
More information about the wine-cvs
mailing list