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
34751fbd
Commit
34751fbd
authored
Jul 09, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Jul 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Correct return value from GetValue.
parent
f628146c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
compartmentmgr.c
dlls/msctf/compartmentmgr.c
+3
-5
No files found.
dlls/msctf/compartmentmgr.c
View file @
34751fbd
...
...
@@ -530,17 +530,15 @@ static HRESULT WINAPI Compartment_SetValue(ITfCompartment *iface,
static
HRESULT
WINAPI
Compartment_GetValue
(
ITfCompartment
*
iface
,
VARIANT
*
pvarValue
)
{
HRESULT
hr
=
S_OK
;
Compartment
*
This
=
(
Compartment
*
)
iface
;
TRACE
(
"(%p) %p
\n
"
,
This
,
pvarValue
);
if
(
!
pvarValue
)
return
E_INVALIDARG
;
pvarValue
->
n1
.
n2
.
vt
=
VT_EMPTY
;
if
(
!
This
->
variant
.
n1
.
n2
.
vt
==
VT_EMPTY
)
hr
=
VariantCopy
(
pvarValue
,
&
This
->
variant
);
return
hr
;
VariantInit
(
pvarValue
);
if
(
V_VT
(
&
This
->
variant
)
==
VT_EMPTY
)
return
S_FALSE
;
return
VariantCopy
(
pvarValue
,
&
This
->
variant
);
}
static
const
ITfCompartmentVtbl
ITfCompartment_Vtbl
=
{
...
...
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