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
9e75962e
Commit
9e75962e
authored
Oct 07, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/monthcal: Fix a nice typo in test message.
parent
6b5c6645
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
monthcal.c
dlls/comctl32/tests/monthcal.c
+3
-3
No files found.
dlls/comctl32/tests/monthcal.c
View file @
9e75962e
...
...
@@ -383,7 +383,7 @@ static void test_monthcal(void)
expect
(
1200
,
st
[
1
].
wMilliseconds
);
ok
(
SendMessage
(
hwnd
,
MCM_GETRANGE
,
0
,
(
LPARAM
)
st1
)
==
GDTR_MAX
,
"No limits should be set
\n
"
);
ok
(
st1
[
0
].
wYear
!=
2000
,
"Lo
v
er limit changed
\n
"
);
ok
(
st1
[
0
].
wYear
!=
2000
,
"Lo
w
er limit changed
\n
"
);
/* invalid timestamp should be replaced with today data, except msecs */
expect
(
today
.
wHour
,
st1
[
1
].
wHour
);
expect
(
today
.
wMinute
,
st1
[
1
].
wMinute
);
...
...
@@ -407,10 +407,10 @@ static void test_monthcal(void)
st
[
1
].
wMonth
=
0
;
ok
(
!
SendMessage
(
hwnd
,
MCM_SETRANGE
,
GDTR_MIN
|
GDTR_MAX
,
(
LPARAM
)
st
),
"Should have failed to set limits
\n
"
);
ok
(
SendMessage
(
hwnd
,
MCM_GETRANGE
,
0
,
(
LPARAM
)
st1
)
==
GDTR_MAX
,
"No limits should be set
\n
"
);
ok
(
st1
[
0
].
wYear
!=
2000
,
"Lo
v
er limit changed
\n
"
);
ok
(
st1
[
0
].
wYear
!=
2000
,
"Lo
w
er limit changed
\n
"
);
ok
(
!
SendMessage
(
hwnd
,
MCM_SETRANGE
,
GDTR_MAX
,
(
LPARAM
)
st
),
"Should have failed to set MAX limit
\n
"
);
ok
(
SendMessage
(
hwnd
,
MCM_GETRANGE
,
0
,
(
LPARAM
)
st1
)
==
GDTR_MAX
,
"No limits should be set
\n
"
);
ok
(
st1
[
0
].
wYear
!=
2000
,
"Lo
v
er limit changed
\n
"
);
ok
(
st1
[
0
].
wYear
!=
2000
,
"Lo
w
er limit changed
\n
"
);
GetSystemTime
(
&
st
[
0
]);
st
[
0
].
wDay
=
20
;
...
...
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