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
20c24fd3
Commit
20c24fd3
authored
May 29, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
May 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Fix an unused variable warning.
parent
ebcef4a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
freetype.c
dlls/gdi/freetype.c
+10
-8
No files found.
dlls/gdi/freetype.c
View file @
20c24fd3
...
...
@@ -4040,21 +4040,23 @@ BOOL WINAPI FontIsLinked(HDC hdc)
static
BOOL
is_hinting_enabled
(
void
)
{
FT_Module
mod
;
/* Use the >= 2.2.0 function if available */
if
(
pFT_Get_TrueType_Engine_Type
)
{
FT_TrueTypeEngineType
type
=
pFT_Get_TrueType_Engine_Type
(
library
);
return
type
==
FT_TRUETYPE_ENGINE_TYPE_PATENTED
;
}
/* otherwise if we've been compiled with < 2.2.0 headers
use the internal macro */
#ifdef FT_DRIVER_HAS_HINTER
mod
=
pFT_Get_Module
(
library
,
"truetype"
);
if
(
mod
&&
FT_DRIVER_HAS_HINTER
(
mod
))
return
TRUE
;
else
{
FT_Module
mod
;
/* otherwise if we've been compiled with < 2.2.0 headers
use the internal macro */
mod
=
pFT_Get_Module
(
library
,
"truetype"
);
if
(
mod
&&
FT_DRIVER_HAS_HINTER
(
mod
))
return
TRUE
;
}
#endif
return
FALSE
;
...
...
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