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
846093ea
Commit
846093ea
authored
Apr 10, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Apr 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: ITfDocumentMgr::GetBase returns the top if there is only one context pushed.
parent
af860c1a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
documentmgr.c
dlls/msctf/documentmgr.c
+9
-2
No files found.
dlls/msctf/documentmgr.c
View file @
846093ea
...
...
@@ -199,14 +199,21 @@ static HRESULT WINAPI DocumentMgr_GetTop(ITfDocumentMgr *iface, ITfContext **ppi
static
HRESULT
WINAPI
DocumentMgr_GetBase
(
ITfDocumentMgr
*
iface
,
ITfContext
**
ppic
)
{
DocumentMgr
*
This
=
(
DocumentMgr
*
)
iface
;
ITfContext
*
tgt
;
TRACE
(
"(%p)
\n
"
,
This
);
if
(
!
ppic
)
return
E_INVALIDARG
;
if
(
This
->
contextStack
[
1
])
ITfContext_AddRef
(
This
->
contextStack
[
1
]);
tgt
=
This
->
contextStack
[
1
];
else
tgt
=
This
->
contextStack
[
0
];
if
(
tgt
)
ITfContext_AddRef
(
tgt
);
*
ppic
=
This
->
contextStack
[
1
]
;
*
ppic
=
tgt
;
return
S_OK
;
}
...
...
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