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
4b1f6310
Commit
4b1f6310
authored
Jul 10, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Spelling fix.
parent
c3a952eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
font.c
dlls/gdiplus/tests/font.c
+5
-5
No files found.
dlls/gdiplus/tests/font.c
View file @
4b1f6310
...
...
@@ -25,7 +25,7 @@
#define expect(expected, got) ok(got == expected, "Expected %.8x, got %.8x\n", expected, got)
static
const
WCHAR
arial
[]
=
{
'A'
,
'r'
,
'i'
,
'a'
,
'l'
,
'\0'
};
static
const
WCHAR
nonexist
a
nt
[]
=
{
'T'
,
'h'
,
'i'
,
's'
,
'F'
,
'o'
,
'n'
,
't'
,
's'
,
'h'
,
'o'
,
'u'
,
'l'
,
'd'
,
'N'
,
'o'
,
't'
,
'E'
,
'x'
,
'i'
,
's'
,
't'
,
'\0'
};
static
const
WCHAR
nonexist
e
nt
[]
=
{
'T'
,
'h'
,
'i'
,
's'
,
'F'
,
'o'
,
'n'
,
't'
,
's'
,
'h'
,
'o'
,
'u'
,
'l'
,
'd'
,
'N'
,
'o'
,
't'
,
'E'
,
'x'
,
'i'
,
's'
,
't'
,
'\0'
};
static
const
WCHAR
MSSansSerif
[]
=
{
'M'
,
'S'
,
' '
,
'S'
,
'a'
,
'n'
,
's'
,
' '
,
'S'
,
'e'
,
'r'
,
'i'
,
'f'
,
'\0'
};
static
const
WCHAR
MicrosoftSansSerif
[]
=
{
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
' '
,
'S'
,
'a'
,
'n'
,
's'
,
' '
,
'S'
,
'e'
,
'r'
,
'i'
,
'f'
,
'\0'
};
static
const
WCHAR
TimesNewRoman
[]
=
{
'T'
,
'i'
,
'm'
,
'e'
,
's'
,
' '
,
'N'
,
'e'
,
'w'
,
' '
,
'R'
,
'o'
,
'm'
,
'a'
,
'n'
,
'\0'
};
...
...
@@ -48,7 +48,7 @@ static void test_createfont(void)
UINT
i
;
REAL
size
;
stat
=
GdipCreateFontFamilyFromName
(
nonexist
a
nt
,
NULL
,
&
fontfamily
);
stat
=
GdipCreateFontFamilyFromName
(
nonexist
e
nt
,
NULL
,
&
fontfamily
);
expect
(
FontFamilyNotFound
,
stat
);
stat
=
GdipDeleteFont
(
font
);
expect
(
InvalidParameter
,
stat
);
...
...
@@ -161,10 +161,10 @@ static void test_fontfamily (void)
/* FontFamily must be able to actually find the family.
* If it can't, any subsequent calls should fail.
*/
stat
=
GdipCreateFontFamilyFromName
(
nonexist
a
nt
,
NULL
,
&
family
);
stat
=
GdipCreateFontFamilyFromName
(
nonexist
e
nt
,
NULL
,
&
family
);
expect
(
FontFamilyNotFound
,
stat
);
ok
((
lstrcmpiW
(
itsName
,
nonexist
a
nt
)
!=
0
),
"Expected a non-zero value for nonexist
a
nt font!
\n
"
);
ok
((
lstrcmpiW
(
itsName
,
nonexist
e
nt
)
!=
0
),
"Expected a non-zero value for nonexist
e
nt font!
\n
"
);
/* Bitmap fonts are not found */
todo_wine
...
...
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