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
523e07da
Commit
523e07da
authored
Dec 23, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang/tests: Add some return value checks (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2bde3e20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
mlang.c
dlls/mlang/tests/mlang.c
+4
-2
No files found.
dlls/mlang/tests/mlang.c
View file @
523e07da
...
...
@@ -2679,8 +2679,10 @@ static void test_MapFont(IMLangFontLink *font_link, IMLangFontLink2 *font_link2)
ok
(
ret
==
S_OK
,
"IMLangFontLink2_ResetFontMapping: expected S_OK, got %08x
\n
"
,
ret
);
/* Show that the font cache is global */
IMLangFontLink_MapFont
(
font_link
,
hdc
,
codepages
,
old_font
,
&
font1
);
IMLangFontLink2_MapFont
(
font_link2
,
hdc
,
codepages
,
0
,
&
font2
);
ret
=
IMLangFontLink_MapFont
(
font_link
,
hdc
,
codepages
,
old_font
,
&
font1
);
ok
(
ret
==
S_OK
,
"MapFont() failed, hr %#x.
\n
"
,
ret
);
ret
=
IMLangFontLink2_MapFont
(
font_link2
,
hdc
,
codepages
,
0
,
&
font2
);
ok
(
ret
==
S_OK
,
"MapFont() failed, hr %#x.
\n
"
,
ret
);
ok
(
font1
!=
NULL
&&
font2
!=
NULL
,
"expected !NULL/!NULL, got %p/%p"
,
font1
,
font2
);
ok
(
font1
==
font2
,
"expected equal, got not equal"
);
...
...
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