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
3a51439f
Commit
3a51439f
authored
Jul 26, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang/tests: Simplify the "pointer to start of array" idiom.
parent
e6c69e96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mlang.c
dlls/mlang/tests/mlang.c
+3
-3
No files found.
dlls/mlang/tests/mlang.c
View file @
3a51439f
...
@@ -677,7 +677,7 @@ static void test_EnumCodePages(IMultiLanguage2 *iML2, DWORD flags)
...
@@ -677,7 +677,7 @@ static void test_EnumCodePages(IMultiLanguage2 *iML2, DWORD flags)
n
=
0
;
n
=
0
;
ret
=
IEnumCodePage_Next
(
iEnumCP
,
1
,
&
cpinfo2
,
&
n
);
ret
=
IEnumCodePage_Next
(
iEnumCP
,
1
,
&
cpinfo2
,
&
n
);
ok
(
n
==
1
&&
ret
==
S_OK
,
"IEnumCodePage_Next: expected 1/S_OK, got %u/%08x
\n
"
,
n
,
ret
);
ok
(
n
==
1
&&
ret
==
S_OK
,
"IEnumCodePage_Next: expected 1/S_OK, got %u/%08x
\n
"
,
n
,
ret
);
cpinfo_cmp
(
&
cpinfo
[
0
]
,
&
cpinfo2
);
cpinfo_cmp
(
cpinfo
,
&
cpinfo2
);
if
(
0
)
if
(
0
)
{
{
...
@@ -782,7 +782,7 @@ static void test_EnumScripts(IMultiLanguage2 *iML2, DWORD flags)
...
@@ -782,7 +782,7 @@ static void test_EnumScripts(IMultiLanguage2 *iML2, DWORD flags)
n
=
0
;
n
=
0
;
ret
=
IEnumScript_Next
(
iEnumScript
,
1
,
&
sinfo2
,
&
n
);
ret
=
IEnumScript_Next
(
iEnumScript
,
1
,
&
sinfo2
,
&
n
);
ok
(
n
==
1
&&
ret
==
S_OK
,
"IEnumScript_Next: expected 1/S_OK, got %u/%08x
\n
"
,
n
,
ret
);
ok
(
n
==
1
&&
ret
==
S_OK
,
"IEnumScript_Next: expected 1/S_OK, got %u/%08x
\n
"
,
n
,
ret
);
scriptinfo_cmp
(
&
sinfo
[
0
]
,
&
sinfo2
);
scriptinfo_cmp
(
sinfo
,
&
sinfo2
);
if
(
0
)
if
(
0
)
{
{
...
@@ -861,7 +861,7 @@ static void IMLangFontLink_Test(IMLangFontLink* iMLFL)
...
@@ -861,7 +861,7 @@ static void IMLangFontLink_Test(IMLangFontLink* iMLFL)
dwCodePages
=
0
;
dwCodePages
=
0
;
processed
=
0
;
processed
=
0
;
ret
=
IMLangFontLink_GetStrCodePages
(
iMLFL
,
&
str
[
0
]
,
1
,
0
,
&
dwCodePages
,
&
processed
);
ret
=
IMLangFontLink_GetStrCodePages
(
iMLFL
,
str
,
1
,
0
,
&
dwCodePages
,
&
processed
);
ok
(
ret
==
S_OK
,
"IMLangFontLink_GetStrCodePages error %x
\n
"
,
ret
);
ok
(
ret
==
S_OK
,
"IMLangFontLink_GetStrCodePages error %x
\n
"
,
ret
);
ok
(
dwCodePages
==
dwCmpCodePages
,
"expected %x, got %x
\n
"
,
dwCmpCodePages
,
dwCodePages
);
ok
(
dwCodePages
==
dwCmpCodePages
,
"expected %x, got %x
\n
"
,
dwCmpCodePages
,
dwCodePages
);
ok
(
processed
==
1
,
"expected 1, got %d
\n
"
,
processed
);
ok
(
processed
==
1
,
"expected 1, got %d
\n
"
,
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