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
e9f1638d
Commit
e9f1638d
authored
Sep 27, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Don't hold the GDI lock while calling the SelectObject backends.
parent
af6c0a09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gdiobj.c
dlls/gdi32/gdiobj.c
+3
-3
No files found.
dlls/gdi32/gdiobj.c
View file @
e9f1638d
...
...
@@ -1156,9 +1156,9 @@ HGDIOBJ WINAPI SelectObject( HDC hdc, HGDIOBJ hObj )
header
=
GDI_GetObjPtr
(
hObj
,
MAGIC_DONTCARE
);
if
(
header
)
{
if
(
header
->
funcs
&&
header
->
funcs
->
pSelectObject
)
ret
=
header
->
funcs
->
pSelectObject
(
hObj
,
hdc
);
GDI_ReleaseObj
(
hObj
);
const
struct
gdi_obj_funcs
*
funcs
=
header
->
funcs
;
GDI_ReleaseObj
(
hObj
);
if
(
funcs
&&
funcs
->
pSelectObject
)
ret
=
funcs
->
pSelectObject
(
hObj
,
hdc
);
}
}
return
ret
;
...
...
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