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
b08d4f59
Commit
b08d4f59
authored
Oct 18, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Lowercase variable names to fix a incorrect sizeof() (Coverity).
parent
2a55b09b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
main.c
dlls/ddraw/main.c
+6
-6
No files found.
dlls/ddraw/main.c
View file @
b08d4f59
...
...
@@ -296,27 +296,27 @@ DirectDrawCreate(GUID *GUID,
*
***********************************************************************/
HRESULT
WINAPI
DECLSPEC_HOTPATCH
DirectDrawCreateEx
(
GUID
*
GUID
,
LPVOID
*
DD
,
DirectDrawCreateEx
(
GUID
*
guid
,
LPVOID
*
dd
,
REFIID
iid
,
IUnknown
*
UnkOuter
)
{
HRESULT
hr
;
TRACE
(
"driver_guid %s, ddraw %p, interface_iid %s, outer_unknown %p.
\n
"
,
debugstr_guid
(
GUID
),
DD
,
debugstr_guid
(
iid
),
UnkOuter
);
debugstr_guid
(
guid
),
dd
,
debugstr_guid
(
iid
),
UnkOuter
);
if
(
!
IsEqualGUID
(
iid
,
&
IID_IDirectDraw7
))
return
DDERR_INVALIDPARAMS
;
EnterCriticalSection
(
&
ddraw_cs
);
hr
=
DDRAW_Create
(
GUID
,
DD
,
UnkOuter
,
iid
);
hr
=
DDRAW_Create
(
guid
,
dd
,
UnkOuter
,
iid
);
LeaveCriticalSection
(
&
ddraw_cs
);
if
(
SUCCEEDED
(
hr
))
{
IDirectDraw7
*
ddraw7
=
*
(
IDirectDraw7
**
)
DD
;
hr
=
IDirectDraw7_Initialize
(
ddraw7
,
GUID
);
IDirectDraw7
*
ddraw7
=
*
(
IDirectDraw7
**
)
dd
;
hr
=
IDirectDraw7_Initialize
(
ddraw7
,
guid
);
if
(
FAILED
(
hr
))
IDirectDraw7_Release
(
ddraw7
);
}
...
...
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