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
c4f935d4
Commit
c4f935d4
authored
Mar 18, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix p__p___mb_cur_max tests.
parent
9b1a2d8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
locale.c
dlls/msvcrt/tests/locale.c
+1
-9
No files found.
dlls/msvcrt/tests/locale.c
View file @
c4f935d4
...
...
@@ -785,10 +785,8 @@ static void test__Gettnames(void)
static
void
test___mb_cur_max_func
(
void
)
{
int
mb_cur_max
;
CPINFO
cp
;
setlocale
(
LC_ALL
,
"C"
);
GetCPInfo
(
CP_ACP
,
&
cp
);
/* for newer Windows */
if
(
!
p___mb_cur_max_func
)
...
...
@@ -812,13 +810,7 @@ static void test___mb_cur_max_func(void)
win_skip
(
"Skipping __p___mb_cur_max tests
\n
"
);
else
{
mb_cur_max
=
*
p__p___mb_cur_max
();
if
(
cp
.
MaxCharSize
!=
1
)
{
todo_wine
ok
(
mb_cur_max
==
cp
.
MaxCharSize
,
"mb_cur_max = %d, expected %d
\n
"
,
mb_cur_max
,
cp
.
MaxCharSize
);
}
else
{
ok
(
mb_cur_max
==
1
,
"mb_cur_max = %d, expected 1
\n
"
,
mb_cur_max
);
}
ok
(
mb_cur_max
==
1
,
"mb_cur_max = %d, expected 1
\n
"
,
mb_cur_max
);
/* some old Windows don't set chinese */
if
(
!
setlocale
(
LC_ALL
,
"chinese"
))
...
...
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