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
66c6b84f
Commit
66c6b84f
authored
Nov 08, 2007
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Fix a test to not rely on uninitialized memory.
parent
1e445c49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
usp10.c
dlls/usp10/tests/usp10.c
+3
-2
No files found.
dlls/usp10/tests/usp10.c
View file @
66c6b84f
...
...
@@ -337,10 +337,11 @@ static void test_ScriptGetFontProperties(HDC hdc)
ok
(
hr
==
E_INVALIDARG
,
"(hdc,&psc,NULL), expected E_INVALIDARG, got %08x
\n
"
,
hr
);
ok
(
psc
==
NULL
,
"Expected psc to be NULL, got %p
\n
"
,
psc
);
/* Pass an
uninitialize
d sfp */
/* Pass an
invali
d sfp */
psc
=
NULL
;
sfp
.
cBytes
=
sizeof
(
SCRIPT_FONTPROPERTIES
)
-
1
;
hr
=
ScriptGetFontProperties
(
hdc
,
&
psc
,
&
sfp
);
ok
(
hr
==
E_INVALIDARG
,
"(hdc,&psc,&sfp)
partly uninitialize
d, expected E_INVALIDARG, got %08x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"(hdc,&psc,&sfp)
invali
d, expected E_INVALIDARG, got %08x
\n
"
,
hr
);
ok
(
psc
!=
NULL
,
"Expected a pointer in psc, got NULL
\n
"
);
ScriptFreeCache
(
&
psc
);
ok
(
psc
==
NULL
,
"Expected psc to be NULL, got %p
\n
"
,
psc
);
...
...
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