msvcrt: Accept Czechia as locale name.
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
dead047bdb
commit
4e5e56c822
|
@ -158,12 +158,14 @@ todo_wine
|
||||||
ret = setlocale(LC_ALL, "csy");
|
ret = setlocale(LC_ALL, "csy");
|
||||||
ok(ret != NULL || broken (ret == NULL), "ret == NULL\n");
|
ok(ret != NULL || broken (ret == NULL), "ret == NULL\n");
|
||||||
if(ret)
|
if(ret)
|
||||||
ok(!strcmp(ret, "Czech_Czech Republic.1250"), "ret = %s\n", ret);
|
ok(!strcmp(ret, "Czech_Czech Republic.1250")
|
||||||
|
|| !strcmp(ret, "Czech_Czechia.1250"), "ret = %s\n", ret);
|
||||||
|
|
||||||
ret = setlocale(LC_ALL, "czech");
|
ret = setlocale(LC_ALL, "czech");
|
||||||
ok(ret != NULL || broken (ret == NULL), "ret == NULL\n");
|
ok(ret != NULL || broken (ret == NULL), "ret == NULL\n");
|
||||||
if(ret)
|
if(ret)
|
||||||
ok(!strcmp(ret, "Czech_Czech Republic.1250"), "ret = %s\n", ret);
|
ok(!strcmp(ret, "Czech_Czech Republic.1250")
|
||||||
|
|| !strcmp(ret, "Czech_Czechia.1250"), "ret = %s\n", ret);
|
||||||
|
|
||||||
ret = setlocale(LC_ALL, "dan");
|
ret = setlocale(LC_ALL, "dan");
|
||||||
ok(ret != NULL || broken (ret == NULL), "ret == NULL\n");
|
ok(ret != NULL || broken (ret == NULL), "ret == NULL\n");
|
||||||
|
|
Loading…
Reference in New Issue