Piotr Caban : msvcrt: Fix p__p___mb_cur_max tests.
Alexandre Julliard
julliard at winehq.org
Tue Mar 18 14:15:06 CDT 2014
Module: wine
Branch: master
Commit: c4f935d449c316f0f34665d739b97212f6de4fc8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c4f935d449c316f0f34665d739b97212f6de4fc8
Author: Piotr Caban <piotr at codeweavers.com>
Date: Tue Mar 18 12:56:43 2014 +0100
msvcrt: Fix p__p___mb_cur_max tests.
---
dlls/msvcrt/tests/locale.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/dlls/msvcrt/tests/locale.c b/dlls/msvcrt/tests/locale.c
index d8a1876..6ef07ec 100644
--- a/dlls/msvcrt/tests/locale.c
+++ b/dlls/msvcrt/tests/locale.c
@@ -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"))
More information about the wine-cvs
mailing list