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
3fae3f36
Commit
3fae3f36
authored
Dec 27, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Remove some explicit WPARAM casts.
parent
db4fab9f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
appdefaults.c
programs/winecfg/appdefaults.c
+1
-1
theme.c
programs/winecfg/theme.c
+6
-6
No files found.
programs/winecfg/appdefaults.c
View file @
3fae3f36
...
...
@@ -144,7 +144,7 @@ static void update_comboboxes(HWND dialog)
if
(
!
strcasecmp
(
win_versions
[
i
].
szVersion
,
winver
))
{
SendDlgItemMessage
(
dialog
,
IDC_WINVER
,
CB_SETCURSEL
,
(
WPARAM
)
i
+
(
current_app
?
1
:
0
),
0
);
i
+
(
current_app
?
1
:
0
),
0
);
WINE_TRACE
(
"match with %s
\n
"
,
win_versions
[
i
].
szVersion
);
break
;
}
...
...
programs/winecfg/theme.c
View file @
3fae3f36
...
...
@@ -465,8 +465,8 @@ static void on_theme_changed(HWND dialog) {
if
(
!
update_color_and_size
(
index
,
GetDlgItem
(
dialog
,
IDC_THEME_COLORCOMBO
),
GetDlgItem
(
dialog
,
IDC_THEME_SIZECOMBO
)))
{
SendMessageW
(
GetDlgItem
(
dialog
,
IDC_THEME_COLORCOMBO
),
CB_SETCURSEL
,
(
WPARAM
)
-
1
,
0
);
SendMessageW
(
GetDlgItem
(
dialog
,
IDC_THEME_SIZECOMBO
),
CB_SETCURSEL
,
(
WPARAM
)
-
1
,
0
);
SendMessageW
(
GetDlgItem
(
dialog
,
IDC_THEME_COLORCOMBO
),
CB_SETCURSEL
,
-
1
,
0
);
SendMessageW
(
GetDlgItem
(
dialog
,
IDC_THEME_SIZECOMBO
),
CB_SETCURSEL
,
-
1
,
0
);
enable_size_and_color_controls
(
dialog
,
FALSE
);
}
else
...
...
@@ -699,8 +699,8 @@ static void on_theme_install(HWND dialog)
GetDlgItem
(
dialog
,
IDC_THEME_COLORCOMBO
),
GetDlgItem
(
dialog
,
IDC_THEME_SIZECOMBO
)))
{
SendMessageW
(
GetDlgItem
(
dialog
,
IDC_THEME_COLORCOMBO
),
CB_SETCURSEL
,
(
WPARAM
)
-
1
,
0
);
SendMessageW
(
GetDlgItem
(
dialog
,
IDC_THEME_SIZECOMBO
),
CB_SETCURSEL
,
(
WPARAM
)
-
1
,
0
);
SendMessageW
(
GetDlgItem
(
dialog
,
IDC_THEME_COLORCOMBO
),
CB_SETCURSEL
,
-
1
,
0
);
SendMessageW
(
GetDlgItem
(
dialog
,
IDC_THEME_SIZECOMBO
),
CB_SETCURSEL
,
-
1
,
0
);
enable_size_and_color_controls
(
dialog
,
FALSE
);
}
else
...
...
@@ -786,7 +786,7 @@ static void read_shell_folder_link_targets(void) {
static
void
update_shell_folder_listview
(
HWND
dialog
)
{
int
i
;
LVITEMW
item
;
LONG
lSelected
=
SendDlgItemMessage
(
dialog
,
IDC_LIST_SFPATHS
,
LVM_GETNEXTITEM
,
(
WPARAM
)
-
1
,
LONG
lSelected
=
SendDlgItemMessage
(
dialog
,
IDC_LIST_SFPATHS
,
LVM_GETNEXTITEM
,
-
1
,
MAKELPARAM
(
LVNI_SELECTED
,
0
));
SendDlgItemMessage
(
dialog
,
IDC_LIST_SFPATHS
,
LVM_DELETEALLITEMS
,
0
,
0
);
...
...
@@ -840,7 +840,7 @@ static void update_shell_folder_listview(HWND dialog) {
item
.
mask
=
LVIF_STATE
;
item
.
state
=
LVIS_SELECTED
;
item
.
stateMask
=
LVIS_SELECTED
;
SendDlgItemMessage
(
dialog
,
IDC_LIST_SFPATHS
,
LVM_SETITEMSTATE
,
(
WPARAM
)
lSelected
,
SendDlgItemMessage
(
dialog
,
IDC_LIST_SFPATHS
,
LVM_SETITEMSTATE
,
lSelected
,
(
LPARAM
)
&
item
);
}
}
...
...
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