Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b75cd7e2
Commit
b75cd7e2
authored
May 30, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Avoid extra host calls during CreateTextServices().
parent
0b94369b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
txtsrv.c
dlls/riched20/txtsrv.c
+1
-3
No files found.
dlls/riched20/txtsrv.c
View file @
b75cd7e2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment