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
75fde14f
Commit
75fde14f
authored
Dec 29, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winetest: Remove superfluous WPARAM casts.
parent
453cf859
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gui.c
programs/winetest/gui.c
+3
-3
No files found.
programs/winetest/gui.c
View file @
75fde14f
...
...
@@ -108,7 +108,7 @@ guiProgress (va_list ap)
else
progressScale
=
1
;
pb
=
GetDlgItem
(
dialog
,
IDC_PB0
+
progressGroup
*
2
);
SendMessage
(
pb
,
PBM_SETRANGE
,
0
,
MAKELPARAM
(
0
,
max
));
SendMessage
(
pb
,
PBM_SETSTEP
,
(
WPARAM
)
1
,
0
);
SendMessage
(
pb
,
PBM_SETSTEP
,
1
,
0
);
return
0
;
}
...
...
@@ -134,7 +134,7 @@ guiStep (va_list ap)
progressCurr
++
;
SetDlgItemText
(
dialog
,
pgID
,
str
);
SendDlgItemMessage
(
dialog
,
pgID
+
1
,
PBM_SETPOS
,
(
WPARAM
)(
progressScale
*
progressCurr
)
,
0
);
progressScale
*
progressCurr
,
0
);
heap_free
(
str
);
return
0
;
}
...
...
@@ -163,7 +163,7 @@ guiDelta (va_list ap)
progressCurr
+=
inc
;
SetDlgItemText
(
dialog
,
pgID
,
str
);
SendDlgItemMessage
(
dialog
,
pgID
+
1
,
PBM_SETPOS
,
(
WPARAM
)(
progressScale
*
progressCurr
)
,
0
);
progressScale
*
progressCurr
,
0
);
heap_free
(
str
);
return
0
;
}
...
...
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