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
c685729b
Commit
c685729b
authored
Sep 29, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/monthcal: Fix locale dependent test failure.
parent
484ef1dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
monthcal.c
dlls/comctl32/tests/monthcal.c
+5
-2
No files found.
dlls/comctl32/tests/monthcal.c
View file @
c685729b
...
...
@@ -768,7 +768,7 @@ static void test_monthcal_currdate(void)
static
void
test_monthcal_firstDay
(
void
)
{
int
res
,
fday
,
i
,
prev
;
T
CHAR
b
[
128
];
CHAR
b
[
128
];
LCID
lcid
=
LOCALE_USER_DEFAULT
;
HWND
hwnd
;
...
...
@@ -778,7 +778,7 @@ static void test_monthcal_firstDay(void)
/* Setter and Getters for first day of week */
/* check for locale first day */
if
(
GetLocaleInfo
(
lcid
,
LOCALE_IFIRSTDAYOFWEEK
,
b
,
128
)){
if
(
GetLocaleInfo
A
(
lcid
,
LOCALE_IFIRSTDAYOFWEEK
,
b
,
128
)){
fday
=
atoi
(
b
);
trace
(
"fday: %d
\n
"
,
fday
);
res
=
SendMessage
(
hwnd
,
MCM_GETFIRSTDAYOFWEEK
,
0
,
0
);
...
...
@@ -1267,6 +1267,9 @@ static void test_monthcal_monthrange(void)
res
=
SendMessage
(
hwnd
,
MCM_SETCURSEL
,
0
,
(
LPARAM
)
&
st
);
expect
(
1
,
res
);
/* to be locale independent */
SendMessage
(
hwnd
,
MCM_SETFIRSTDAYOFWEEK
,
0
,
(
LPARAM
)
6
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
res
=
SendMessage
(
hwnd
,
MCM_GETMONTHRANGE
,
GMR_VISIBLE
,
(
LPARAM
)
st_visible
);
...
...
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