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
68dc3d41
Commit
68dc3d41
authored
Dec 07, 2021
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Check that the preferred UI languages are in uppercase.
Signed-off-by:
Francois Gouget
<
fgouget@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
652d94d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
locale.c
dlls/kernel32/tests/locale.c
+5
-1
No files found.
dlls/kernel32/tests/locale.c
View file @
68dc3d41
...
...
@@ -5219,7 +5219,7 @@ static void test_GetSystemPreferredUILanguages(void)
{
BOOL
ret
;
NTSTATUS
status
;
ULONG
count
,
size
,
size_id
,
size_name
,
size_buffer
;
ULONG
i
,
count
,
size
,
size_id
,
size_name
,
size_buffer
;
WCHAR
*
buffer
;
if
(
!
pGetSystemPreferredUILanguages
)
...
...
@@ -5347,6 +5347,10 @@ static void test_GetSystemPreferredUILanguages(void)
ok
(
!
buffer
[
size
-
2
]
&&
!
buffer
[
size
-
1
],
"Expected last two WCHARs being empty, got 0x%x 0x%x
\n
"
,
buffer
[
size
-
2
],
buffer
[
size
-
1
]);
for
(
i
=
0
;
buffer
[
i
];
i
++
)
ok
((
'0'
<=
buffer
[
i
]
&&
buffer
[
i
]
<=
'9'
)
||
(
'A'
<=
buffer
[
i
]
&&
buffer
[
i
]
<=
'F'
),
"MUI_LANGUAGE_ID [%d] is bad in %s
\n
"
,
i
,
wine_dbgstr_w
(
buffer
));
count
=
0
;
size
=
size_buffer
;
...
...
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