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
ba596d30
Commit
ba596d30
authored
Jan 21, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove unneeded casts.
parent
41ed9106
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
13 deletions
+13
-13
button.c
dlls/user32/button.c
+1
-1
class.c
dlls/user32/class.c
+4
-4
combo.c
dlls/user32/combo.c
+1
-1
cursoricon.c
dlls/user32/cursoricon.c
+3
-3
dde_client.c
dlls/user32/dde_client.c
+1
-1
dde_server.c
dlls/user32/dde_server.c
+2
-2
ddeml16.c
dlls/user32/ddeml16.c
+1
-1
No files found.
dlls/user32/button.c
View file @
ba596d30
...
...
@@ -672,7 +672,7 @@ static UINT BUTTON_CalcLabelRect(HWND hwnd, HDC hdc, RECT *rc)
empty_rect:
rc
->
right
=
r
.
left
;
rc
->
bottom
=
r
.
top
;
return
(
UINT
)
(
LONG
)
-
1
;
return
(
UINT
)
-
1
;
}
/* Position label inside bounding rectangle according to
...
...
dlls/user32/class.c
View file @
ba596d30
...
...
@@ -1116,10 +1116,10 @@ BOOL WINAPI GetClassInfoExA( HINSTANCE hInstance, LPCSTR name, WNDCLASSEXA *wc )
wc
->
cbClsExtra
=
classPtr
->
cbClsExtra
;
wc
->
cbWndExtra
=
classPtr
->
cbWndExtra
;
wc
->
hInstance
=
(
hInstance
==
user32_module
)
?
0
:
hInstance
;
wc
->
hIcon
=
(
HICON
)
classPtr
->
hIcon
;
wc
->
hIconSm
=
(
HICON
)
classPtr
->
hIconSm
;
wc
->
hCursor
=
(
HCURSOR
)
classPtr
->
hCursor
;
wc
->
hbrBackground
=
(
HBRUSH
)
classPtr
->
hbrBackground
;
wc
->
hIcon
=
classPtr
->
hIcon
;
wc
->
hIconSm
=
classPtr
->
hIconSm
;
wc
->
hCursor
=
classPtr
->
hCursor
;
wc
->
hbrBackground
=
classPtr
->
hbrBackground
;
wc
->
lpszMenuName
=
CLASS_GetMenuNameA
(
classPtr
);
wc
->
lpszClassName
=
name
;
atom
=
classPtr
->
atomName
;
...
...
dlls/user32/combo.c
View file @
ba596d30
...
...
@@ -1155,7 +1155,7 @@ static void CBRollUp( LPHEADCOMBO lphc, BOOL ok, BOOL bButton )
HWND
hWnd
=
lphc
->
self
;
TRACE
(
"[%p]: sel ok? [%i] dropped? [%i]
\n
"
,
lphc
->
self
,
(
INT
)
ok
,
(
INT
)(
lphc
->
wState
&
CBF_DROPPED
));
lphc
->
self
,
ok
,
(
INT
)(
lphc
->
wState
&
CBF_DROPPED
));
CB_NOTIFY
(
lphc
,
(
ok
)
?
CBN_SELENDOK
:
CBN_SELENDCANCEL
);
...
...
dlls/user32/cursoricon.c
View file @
ba596d30
...
...
@@ -687,7 +687,7 @@ HICON WINAPI CreateIconFromResourceEx( LPBYTE bits, UINT cbSize,
hotspot
.
y
=
ICON_HOTSPOT
;
TRACE_
(
cursor
)(
"%p (%u bytes), ver %08x, %ix%i %s %s
\n
"
,
bits
,
cbSize
,
(
unsigned
)
dwVersion
,
width
,
height
,
bits
,
cbSize
,
dwVersion
,
width
,
height
,
bIcon
?
"icon"
:
"cursor"
,
(
cFlag
&
LR_MONOCHROME
)
?
"mono"
:
""
);
if
(
dwVersion
==
0x00020000
)
{
...
...
@@ -869,7 +869,7 @@ HICON WINAPI CreateIconFromResourceEx( LPBYTE bits, UINT cbSize,
DeleteObject
(
hAndBits
);
DeleteObject
(
hXorBits
);
return
HICON_32
(
(
HICON16
)
hObj
);
return
HICON_32
(
hObj
);
}
...
...
@@ -1132,7 +1132,7 @@ static HICON CURSORICON_ExtCopy(HICON hIcon, UINT nType,
}
else
{
pDirEntry
=
(
CURSORICONDIRENTRY
*
)
CURSORICON_FindBestCursorRes
(
pDirEntry
=
CURSORICON_FindBestCursorRes
(
pDir
,
iDesiredCX
,
iDesiredCY
,
1
);
}
...
...
dlls/user32/dde_client.c
View file @
ba596d30
...
...
@@ -717,7 +717,7 @@ static WDML_XACT* WDML_ClientQueuePoke(WDML_CONV* pConv, LPVOID pData, DWORD cbD
if
(
cbData
==
(
DWORD
)
-
1
)
{
hglobal
=
(
HGLOBAL
)
pData
;
hglobal
=
pData
;
dh
=
(
DDE_DATAHANDLE_HEAD
*
)
GlobalLock
(
hglobal
);
cbData
=
GlobalSize
(
hglobal
)
-
sizeof
(
DDE_DATAHANDLE_HEAD
);
pData
=
(
LPVOID
)(
dh
+
1
);
...
...
dlls/user32/dde_server.c
View file @
ba596d30
...
...
@@ -98,7 +98,7 @@ BOOL WINAPI DdePostAdvise(DWORD idInst, HSZ hszTopic, HSZ hszItem)
hDdeData
=
WDML_InvokeCallback
(
pInstance
,
XTYP_ADVREQ
,
pLink
->
uFmt
,
pLink
->
hConv
,
hszTopic
,
hszItem
,
0
,
--
count
,
0
);
if
(
hDdeData
==
(
HDDEDATA
)
CBR_BLOCK
)
if
(
hDdeData
==
CBR_BLOCK
)
{
/* MS doc is not consistent here */
FIXME
(
"CBR_BLOCK returned for ADVREQ
\n
"
);
...
...
@@ -463,7 +463,7 @@ static LRESULT CALLBACK WDML_ServerNameProc(HWND hwndServer, UINT iMsg, WPARAM w
hDdeData
=
WDML_InvokeCallback
(
pInstance
,
XTYP_WILDCONNECT
,
0
,
0
,
hszTop
,
hszApp
,
0
,
(
ULONG_PTR
)
pcc
,
self
);
if
(
hDdeData
==
(
HDDEDATA
)
CBR_BLOCK
)
if
(
hDdeData
==
CBR_BLOCK
)
{
/* MS doc is not consistent here */
FIXME
(
"CBR_BLOCK returned for WILDCONNECT
\n
"
);
...
...
dlls/user32/ddeml16.c
View file @
ba596d30
...
...
@@ -281,7 +281,7 @@ BOOL16 WINAPI DdeFreeDataHandle16(HDDEDATA hData)
*/
BOOL16
WINAPI
DdeKeepStringHandle16
(
DWORD
idInst
,
HSZ
hsz
)
{
return
(
BOOL
)
DdeKeepStringHandle
(
idInst
,
hsz
);
return
DdeKeepStringHandle
(
idInst
,
hsz
);
}
/*****************************************************************
...
...
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