Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
87441ff8
Commit
87441ff8
authored
Oct 08, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Oct 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Fix some test failures on older comctl32 versions.
parent
5ca70071
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
monthcal.c
dlls/comctl32/tests/monthcal.c
+6
-1
No files found.
dlls/comctl32/tests/monthcal.c
View file @
87441ff8
...
...
@@ -811,7 +811,11 @@ static void test_monthcal_currdate(void)
st_new
.
wMonth
=
1
;
st_new
.
wDay
=
1
;
res
=
SendMessage
(
hwnd
,
MCM_SETCURSEL
,
0
,
(
LPARAM
)
&
st_new
);
expect
(
0
,
res
);
ok
(
0
==
res
||
broken
(
1
==
res
),
/* comctl32 <= 4.72 */
"Expected 0, got %d
\n
"
,
res
);
if
(
0
==
res
)
{
memset
(
&
st_test
,
0
,
sizeof
(
st_test
));
res
=
SendMessage
(
hwnd
,
MCM_GETCURSEL
,
0
,
(
LPARAM
)
&
st_test
);
expect
(
1
,
res
);
...
...
@@ -821,6 +825,7 @@ static void test_monthcal_currdate(void)
expect
(
st_original
.
wHour
,
st_test
.
wHour
);
expect
(
st_original
.
wMinute
,
st_test
.
wMinute
);
expect
(
st_original
.
wSecond
,
st_test
.
wSecond
);
}
/* setting selection equal to current reports success even if out range */
memset
(
&
st_new
,
0
,
sizeof
(
st_new
));
...
...
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