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
eff2ecc3
Commit
eff2ecc3
authored
Dec 08, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Avoid some superfluous pointer casts.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1e7b52c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
itemdlg.c
dlls/comdlg32/itemdlg.c
+2
-2
No files found.
dlls/comdlg32/itemdlg.c
View file @
eff2ecc3
...
@@ -1956,7 +1956,7 @@ static LRESULT CALLBACK dropdown_subclass_proc(HWND hwnd, UINT umessage, WPARAM
...
@@ -1956,7 +1956,7 @@ static LRESULT CALLBACK dropdown_subclass_proc(HWND hwnd, UINT umessage, WPARAM
if
(
umessage
==
WM_LBUTTONDOWN
)
if
(
umessage
==
WM_LBUTTONDOWN
)
{
{
FileDialogImpl
*
This
=
(
FileDialogImpl
*
)
GetPropW
(
hwnd
,
prop_this
);
FileDialogImpl
*
This
=
GetPropW
(
hwnd
,
prop_this
);
SendMessageW
(
hwnd
,
BM_SETCHECK
,
BST_CHECKED
,
0
);
SendMessageW
(
hwnd
,
BM_SETCHECK
,
BST_CHECKED
,
0
);
show_opendropdown
(
This
);
show_opendropdown
(
This
);
...
@@ -2049,7 +2049,7 @@ static LRESULT on_wm_initdialog(HWND hwnd, LPARAM lParam)
...
@@ -2049,7 +2049,7 @@ static LRESULT on_wm_initdialog(HWND hwnd, LPARAM lParam)
SendMessageW
(
dropdown_hwnd
,
WM_SETFONT
,
(
LPARAM
)
This
->
hfont_opendropdown
,
0
);
SendMessageW
(
dropdown_hwnd
,
WM_SETFONT
,
(
LPARAM
)
This
->
hfont_opendropdown
,
0
);
/* Subclass button so we can handle LBUTTONDOWN */
/* Subclass button so we can handle LBUTTONDOWN */
SetPropW
(
dropdown_hwnd
,
prop_this
,
(
HANDLE
)
This
);
SetPropW
(
dropdown_hwnd
,
prop_this
,
This
);
SetPropW
(
dropdown_hwnd
,
prop_oldwndproc
,
SetPropW
(
dropdown_hwnd
,
prop_oldwndproc
,
(
HANDLE
)
SetWindowLongPtrW
(
dropdown_hwnd
,
GWLP_WNDPROC
,
(
LONG_PTR
)
dropdown_subclass_proc
));
(
HANDLE
)
SetWindowLongPtrW
(
dropdown_hwnd
,
GWLP_WNDPROC
,
(
LONG_PTR
)
dropdown_subclass_proc
));
}
}
...
...
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