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
5e648e89
Commit
5e648e89
authored
Dec 21, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Don't fail font creation when we are out of handles.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=50354
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
772e9e9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
font.c
dlls/gdi32/font.c
+1
-5
No files found.
dlls/gdi32/font.c
View file @
5e648e89
...
...
@@ -1717,11 +1717,7 @@ static struct gdi_font *alloc_gdi_font( const WCHAR *file, void *data_ptr, SIZE_
font
->
data_size
=
data_size
;
}
if
(
!
(
font
->
handle
=
alloc_font_handle
(
font
)))
{
HeapFree
(
GetProcessHeap
(),
0
,
font
);
return
NULL
;
}
font
->
handle
=
alloc_font_handle
(
font
);
return
font
;
}
...
...
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