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
91a1321a
Commit
91a1321a
authored
Jan 18, 2010
by
Ilya Shpigor
Committed by
Alexandre Julliard
Jan 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Additional checking in the test for font creation with the OEM charset.
parent
3b67ad9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
font.c
dlls/gdi32/tests/font.c
+7
-2
No files found.
dlls/gdi32/tests/font.c
View file @
91a1321a
...
...
@@ -2848,7 +2848,7 @@ static void test_orientation(void)
static
void
test_oemcharset
(
void
)
{
HDC
hdc
;
LOGFONTA
lf
;
LOGFONTA
lf
,
clf
;
HFONT
hfont
,
old_hfont
;
int
charset
;
...
...
@@ -2863,7 +2863,12 @@ static void test_oemcharset(void)
charset
=
GetTextCharset
(
hdc
);
todo_wine
ok
(
charset
==
OEM_CHARSET
,
"expected %d charset, got %d
\n
"
,
OEM_CHARSET
,
charset
);
SelectObject
(
hdc
,
old_hfont
);
hfont
=
SelectObject
(
hdc
,
old_hfont
);
GetObjectA
(
hfont
,
sizeof
(
clf
),
&
clf
);
ok
(
!
lstrcmpA
(
clf
.
lfFaceName
,
lf
.
lfFaceName
),
"expected %s face name, got %s
\n
"
,
lf
.
lfFaceName
,
clf
.
lfFaceName
);
ok
(
clf
.
lfPitchAndFamily
==
lf
.
lfPitchAndFamily
,
"expected %x family, got %x
\n
"
,
lf
.
lfPitchAndFamily
,
clf
.
lfPitchAndFamily
);
ok
(
clf
.
lfCharSet
==
lf
.
lfCharSet
,
"expected %d charset, got %d
\n
"
,
lf
.
lfCharSet
,
clf
.
lfCharSet
);
ok
(
clf
.
lfHeight
==
lf
.
lfHeight
,
"expected %d height, got %d
\n
"
,
lf
.
lfHeight
,
clf
.
lfHeight
);
DeleteObject
(
hfont
);
DeleteDC
(
hdc
);
}
...
...
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