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
6b5aaa11
Commit
6b5aaa11
authored
Aug 15, 2002
by
Huw D M Davies
Committed by
Alexandre Julliard
Aug 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DeleteObject() can fail if the object is a DC, however we've already
called GDI_ReleaseObj() so don't call it again.
parent
66e31830
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
gdiobj.c
objects/gdiobj.c
+2
-4
No files found.
objects/gdiobj.c
View file @
6b5aaa11
...
@@ -877,10 +877,8 @@ BOOL WINAPI DeleteObject( HGDIOBJ obj )
...
@@ -877,10 +877,8 @@ BOOL WINAPI DeleteObject( HGDIOBJ obj )
/* Delete object */
/* Delete object */
if
(
header
->
funcs
&&
if
(
header
->
funcs
&&
header
->
funcs
->
pDeleteObject
)
header
->
funcs
->
pDeleteObject
&&
return
header
->
funcs
->
pDeleteObject
(
obj
,
header
);
header
->
funcs
->
pDeleteObject
(
obj
,
header
))
return
TRUE
;
GDI_ReleaseObj
(
obj
);
GDI_ReleaseObj
(
obj
);
return
FALSE
;
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