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
024a6bce
Commit
024a6bce
authored
Dec 09, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Fix a failure on NT4.
parent
8610a0b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
metafile.c
dlls/gdi32/tests/metafile.c
+4
-1
No files found.
dlls/gdi32/tests/metafile.c
View file @
024a6bce
...
...
@@ -121,8 +121,11 @@ static int CALLBACK eto_emf_enum_proc(HDC hdc, HANDLETABLE *handle_table,
const
EMREXTTEXTOUTW
*
emr_ExtTextOutW
=
(
const
EMREXTTEXTOUTW
*
)
emr
;
dx
=
(
const
INT
*
)((
const
char
*
)
emr
+
emr_ExtTextOutW
->
emrtext
.
offDx
);
SetLastError
(
0xdeadbeef
);
ret
=
GetObjectA
(
GetCurrentObject
(
hdc
,
OBJ_FONT
),
sizeof
(
device_lf
),
&
device_lf
);
ok
(
ret
==
sizeof
(
device_lf
),
"GetObjectA error %d
\n
"
,
GetLastError
());
ok
(
ret
==
sizeof
(
device_lf
)
||
broken
(
ret
==
(
sizeof
(
device_lf
)
-
LF_FACESIZE
+
strlen
(
device_lf
.
lfFaceName
)
+
1
)),
/* NT4 */
"GetObjectA error %d
\n
"
,
GetLastError
());
/* compare up to lfOutPrecision, other values are not interesting,
* and in fact sometimes arbitrary adapted by Win9x.
...
...
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