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
1f31eb42
Commit
1f31eb42
authored
Oct 24, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Oct 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Fix olefont tests compilation with __WINESRC__ defined.
parent
4b9465f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
olefont.c
dlls/oleaut32/tests/olefont.c
+2
-2
No files found.
dlls/oleaut32/tests/olefont.c
View file @
1f31eb42
...
@@ -66,7 +66,7 @@ static void test_ifont_size(LONG lo_size, LONG hi_size,
...
@@ -66,7 +66,7 @@ static void test_ifont_size(LONG lo_size, LONG hi_size,
LPVOID
pvObj
=
NULL
;
LPVOID
pvObj
=
NULL
;
IFont
*
ifnt
=
NULL
;
IFont
*
ifnt
=
NULL
;
HFONT
hfont
;
HFONT
hfont
;
LOGFONT
lf
;
LOGFONT
A
lf
;
CY
psize
;
CY
psize
;
HRESULT
hres
;
HRESULT
hres
;
DWORD
rtnval
;
DWORD
rtnval
;
...
@@ -110,7 +110,7 @@ static void test_ifont_size(LONG lo_size, LONG hi_size,
...
@@ -110,7 +110,7 @@ static void test_ifont_size(LONG lo_size, LONG hi_size,
hres
=
IFont_get_hFont
(
ifnt
,
&
hfont
);
hres
=
IFont_get_hFont
(
ifnt
,
&
hfont
);
ok
(
hres
==
S_OK
,
"%s: IFont_get_hFont returns 0x%08x instead of S_OK.
\n
"
,
ok
(
hres
==
S_OK
,
"%s: IFont_get_hFont returns 0x%08x instead of S_OK.
\n
"
,
test_name
,
hres
);
test_name
,
hres
);
rtnval
=
GetObject
(
hfont
,
sizeof
(
LOGFONT
),
&
lf
);
rtnval
=
GetObject
A
(
hfont
,
sizeof
(
LOGFONTA
),
&
lf
);
ok
(
rtnval
>
0
,
"GetObject(hfont) failed
\n
"
);
ok
(
rtnval
>
0
,
"GetObject(hfont) failed
\n
"
);
/* Since font scaling may encounter rounding errors, allow 1 pixel deviation. */
/* Since font scaling may encounter rounding errors, allow 1 pixel deviation. */
...
...
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