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
d64172dc
Commit
d64172dc
authored
Sep 15, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Sep 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remember to remove a child font from the child font list.
parent
8aba0897
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
freetype.c
dlls/gdi/freetype.c
+12
-0
No files found.
dlls/gdi/freetype.c
View file @
d64172dc
...
...
@@ -2377,6 +2377,18 @@ BOOL WineEngDestroyFontInstance(HFONT handle)
struct
list
*
font_elem_ptr
,
*
hfontlist_elem_ptr
;
int
i
=
0
;
LIST_FOR_EACH_ENTRY
(
gdiFont
,
&
child_font_list
,
struct
tagGdiFont
,
entry
)
{
struct
list
*
first_hfont
=
list_head
(
&
gdiFont
->
hfontlist
);
hflist
=
LIST_ENTRY
(
first_hfont
,
HFONTLIST
,
entry
);
if
(
hflist
->
hfont
==
handle
)
{
TRACE
(
"removing child font %p from child list
\n
"
,
gdiFont
);
list_remove
(
&
gdiFont
->
entry
);
return
TRUE
;
}
}
TRACE
(
"destroying hfont=%p
\n
"
,
handle
);
if
(
TRACE_ON
(
font
))
dump_gdi_font_list
();
...
...
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