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
795c732c
Commit
795c732c
authored
Jul 01, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Jul 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Remove superfluous casts.
parent
90059419
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
compartmentmgr.c
dlls/msctf/compartmentmgr.c
+1
-1
context.c
dlls/msctf/context.c
+1
-1
inputprocessor.c
dlls/msctf/inputprocessor.c
+1
-1
threadmgr.c
dlls/msctf/threadmgr.c
+1
-1
No files found.
dlls/msctf/compartmentmgr.c
View file @
795c732c
...
@@ -617,7 +617,7 @@ static HRESULT WINAPI CompartmentSource_UnadviseSink(ITfSource *iface, DWORD pdw
...
@@ -617,7 +617,7 @@ static HRESULT WINAPI CompartmentSource_UnadviseSink(ITfSource *iface, DWORD pdw
if
(
get_Cookie_magic
(
pdwCookie
)
!=
COOKIE_MAGIC_COMPARTMENTSINK
)
if
(
get_Cookie_magic
(
pdwCookie
)
!=
COOKIE_MAGIC_COMPARTMENTSINK
)
return
E_INVALIDARG
;
return
E_INVALIDARG
;
sink
=
(
CompartmentSink
*
)
remove_Cookie
(
pdwCookie
);
sink
=
remove_Cookie
(
pdwCookie
);
if
(
!
sink
)
if
(
!
sink
)
return
CONNECT_E_NOCONNECTION
;
return
CONNECT_E_NOCONNECTION
;
...
...
dlls/msctf/context.c
View file @
795c732c
...
@@ -642,7 +642,7 @@ static HRESULT WINAPI ContextSource_UnadviseSink(ITfSource *iface, DWORD pdwCook
...
@@ -642,7 +642,7 @@ static HRESULT WINAPI ContextSource_UnadviseSink(ITfSource *iface, DWORD pdwCook
if
(
get_Cookie_magic
(
pdwCookie
)
!=
COOKIE_MAGIC_CONTEXTSINK
)
if
(
get_Cookie_magic
(
pdwCookie
)
!=
COOKIE_MAGIC_CONTEXTSINK
)
return
E_INVALIDARG
;
return
E_INVALIDARG
;
sink
=
(
ContextSink
*
)
remove_Cookie
(
pdwCookie
);
sink
=
remove_Cookie
(
pdwCookie
);
if
(
!
sink
)
if
(
!
sink
)
return
CONNECT_E_NOCONNECTION
;
return
CONNECT_E_NOCONNECTION
;
...
...
dlls/msctf/inputprocessor.c
View file @
795c732c
...
@@ -739,7 +739,7 @@ static HRESULT WINAPI IPPSource_UnadviseSink(ITfSource *iface, DWORD pdwCookie)
...
@@ -739,7 +739,7 @@ static HRESULT WINAPI IPPSource_UnadviseSink(ITfSource *iface, DWORD pdwCookie)
if
(
get_Cookie_magic
(
pdwCookie
)
!=
COOKIE_MAGIC_IPPSINK
)
if
(
get_Cookie_magic
(
pdwCookie
)
!=
COOKIE_MAGIC_IPPSINK
)
return
E_INVALIDARG
;
return
E_INVALIDARG
;
sink
=
(
InputProcessorProfilesSink
*
)
remove_Cookie
(
pdwCookie
);
sink
=
remove_Cookie
(
pdwCookie
);
if
(
!
sink
)
if
(
!
sink
)
return
CONNECT_E_NOCONNECTION
;
return
CONNECT_E_NOCONNECTION
;
...
...
dlls/msctf/threadmgr.c
View file @
795c732c
...
@@ -662,7 +662,7 @@ static HRESULT WINAPI ThreadMgrSource_UnadviseSink(ITfSource *iface, DWORD pdwCo
...
@@ -662,7 +662,7 @@ static HRESULT WINAPI ThreadMgrSource_UnadviseSink(ITfSource *iface, DWORD pdwCo
if
(
get_Cookie_magic
(
pdwCookie
)
!=
COOKIE_MAGIC_TMSINK
)
if
(
get_Cookie_magic
(
pdwCookie
)
!=
COOKIE_MAGIC_TMSINK
)
return
E_INVALIDARG
;
return
E_INVALIDARG
;
sink
=
(
ThreadMgrSink
*
)
remove_Cookie
(
pdwCookie
);
sink
=
remove_Cookie
(
pdwCookie
);
if
(
!
sink
)
if
(
!
sink
)
return
CONNECT_E_NOCONNECTION
;
return
CONNECT_E_NOCONNECTION
;
...
...
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