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
29438226
Commit
29438226
authored
Jan 26, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddrawex: Use stack ctx instead of uninitialized variable.
parent
507f6710
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ddraw.c
dlls/ddrawex/ddraw.c
+3
-3
No files found.
dlls/ddrawex/ddraw.c
View file @
29438226
...
...
@@ -678,11 +678,11 @@ IDirectDraw4Impl_EnumSurfaces(IDirectDraw4 *iface,
LPDDENUMSURFACESCALLBACK2
Callback
)
{
IDirectDrawImpl
*
This
=
impl_from_dd4
(
iface
);
struct
enumsurfaces4_ctx
*
ctx
;
struct
enumsurfaces4_ctx
ctx
;
TRACE
(
"(%p)->(0x%08x,%p,%p,%p)
\n
"
,
This
,
Flags
,
DDSD
,
Context
,
Callback
);
ctx
->
orig_cb
=
Callback
;
ctx
->
orig_ctx
=
Context
;
ctx
.
orig_cb
=
Callback
;
ctx
.
orig_ctx
=
Context
;
return
IDirectDraw4Impl_EnumSurfaces
(
This
->
parent
,
Flags
,
DDSD
,
&
ctx
,
enum_surfaces_wrapper
);
}
...
...
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