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
908fa3eb
Commit
908fa3eb
authored
Feb 02, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Correctly initialize the item dialog structure.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9b2dd2db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
21 deletions
+1
-21
itemdlg.c
dlls/comdlg32/itemdlg.c
+1
-21
No files found.
dlls/comdlg32/itemdlg.c
View file @
908fa3eb
...
@@ -4597,7 +4597,7 @@ static HRESULT FileDialog_constructor(IUnknown *pUnkOuter, REFIID riid, void **p
...
@@ -4597,7 +4597,7 @@ static HRESULT FileDialog_constructor(IUnknown *pUnkOuter, REFIID riid, void **p
if
(
pUnkOuter
)
if
(
pUnkOuter
)
return
CLASS_E_NOAGGREGATION
;
return
CLASS_E_NOAGGREGATION
;
fdimpl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
FileDialogImpl
));
fdimpl
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
FileDialogImpl
));
if
(
!
fdimpl
)
if
(
!
fdimpl
)
return
E_OUTOFMEMORY
;
return
E_OUTOFMEMORY
;
...
@@ -4628,27 +4628,7 @@ static HRESULT FileDialog_constructor(IUnknown *pUnkOuter, REFIID riid, void **p
...
@@ -4628,27 +4628,7 @@ static HRESULT FileDialog_constructor(IUnknown *pUnkOuter, REFIID riid, void **p
fdimpl
->
custom_okbutton
=
StrDupW
(
buf
);
fdimpl
->
custom_okbutton
=
StrDupW
(
buf
);
}
}
fdimpl
->
filterspecs
=
NULL
;
fdimpl
->
filterspec_count
=
0
;
fdimpl
->
filetypeindex
=
0
;
fdimpl
->
psia_selection
=
fdimpl
->
psia_results
=
NULL
;
fdimpl
->
psi_setfolder
=
fdimpl
->
psi_folder
=
NULL
;
list_init
(
&
fdimpl
->
events_clients
);
list_init
(
&
fdimpl
->
events_clients
);
fdimpl
->
events_next_cookie
=
0
;
fdimpl
->
dlg_hwnd
=
NULL
;
fdimpl
->
peb
=
NULL
;
fdimpl
->
set_filename
=
NULL
;
fdimpl
->
default_ext
=
NULL
;
fdimpl
->
custom_cancelbutton
=
fdimpl
->
custom_filenamelabel
=
NULL
;
fdimpl
->
client_guid
=
GUID_NULL
;
fdimpl
->
hmenu_opendropdown
=
NULL
;
fdimpl
->
hfont_opendropdown
=
NULL
;
/* FIXME: The default folder setting should be restored for the
/* FIXME: The default folder setting should be restored for the
* application if it was previously set. */
* application if it was previously set. */
...
...
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