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
6490dadb
Commit
6490dadb
authored
Jun 22, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jun 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Tidy up graphics constructor.
parent
02efd4bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
graphics.c
dlls/gdiplus/graphics.c
+3
-2
No files found.
dlls/gdiplus/graphics.c
View file @
6490dadb
...
...
@@ -116,8 +116,9 @@ GpStatus WINGDIPAPI GdipCreateFromHDC(HDC hdc, GpGraphics **graphics)
if
(
graphics
==
NULL
)
return
InvalidParameter
;
*
graphics
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
GpGraphics
));
*
graphics
=
GdipAlloc
(
sizeof
(
GpGraphics
));
if
(
!*
graphics
)
return
OutOfMemory
;
(
*
graphics
)
->
hdc
=
hdc
;
(
*
graphics
)
->
hwnd
=
NULL
;
...
...
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