Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
bc623148
Commit
bc623148
authored
Nov 28, 2023
by
Santino Mazza
Committed by
Alexandre Julliard
Feb 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang/tests: Test codepages priority bug in GetStrCodepages.
parent
82930745
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
mlang.c
dlls/mlang/tests/mlang.c
+8
-0
No files found.
dlls/mlang/tests/mlang.c
View file @
bc623148
...
@@ -1324,6 +1324,14 @@ static void IMLangFontLink_Test(IMLangFontLink* iMLFL)
...
@@ -1324,6 +1324,14 @@ static void IMLangFontLink_Test(IMLangFontLink* iMLFL)
ok
(
dwCodePages
==
dwCmpCodePages
,
"expected %lx, got %lx
\n
"
,
dwCmpCodePages
,
dwCodePages
);
ok
(
dwCodePages
==
dwCmpCodePages
,
"expected %lx, got %lx
\n
"
,
dwCmpCodePages
,
dwCodePages
);
ok
(
processed
==
2
,
"expected 2, got %ld
\n
"
,
processed
);
ok
(
processed
==
2
,
"expected 2, got %ld
\n
"
,
processed
);
dwCmpCodePages
=
FS_JISJAPAN
;
dwCodePages
=
0
;
processed
=
0
;
ret
=
IMLangFontLink_GetStrCodePages
(
iMLFL
,
L"\uff90a"
,
2
,
FS_LATIN1
,
&
dwCodePages
,
&
processed
);
ok
(
ret
==
S_OK
,
"IMLangFontLink_GetStrCodePages error %lx
\n
"
,
ret
);
ok
(
dwCodePages
==
dwCmpCodePages
,
"expected %lx, got %lx
\n
"
,
dwCmpCodePages
,
dwCodePages
);
todo_wine
ok
(
processed
==
1
,
"expected 1, got %ld
\n
"
,
processed
);
dwCodePages
=
0xffff
;
dwCodePages
=
0xffff
;
processed
=
-
1
;
processed
=
-
1
;
ret
=
IMLangFontLink_GetStrCodePages
(
iMLFL
,
&
str
[
2
],
1
,
0
,
&
dwCodePages
,
&
processed
);
ret
=
IMLangFontLink_GetStrCodePages
(
iMLFL
,
&
str
[
2
],
1
,
0
,
&
dwCodePages
,
&
processed
);
...
...
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