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
e14b6dcf
Commit
e14b6dcf
authored
Jun 07, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Jun 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Check file dialog's FOIShellView before accessing it.
parent
13f18ee7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
filedlg.c
dlls/comdlg32/filedlg.c
+9
-4
No files found.
dlls/comdlg32/filedlg.c
View file @
e14b6dcf
...
@@ -2021,7 +2021,8 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
...
@@ -2021,7 +2021,8 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
}
}
else
if
(
nOpenAction
==
ONOPEN_SEARCH
)
else
if
(
nOpenAction
==
ONOPEN_SEARCH
)
{
{
IShellView_Refresh
(
fodInfos
->
Shell
.
FOIShellView
);
if
(
fodInfos
->
Shell
.
FOIShellView
)
IShellView_Refresh
(
fodInfos
->
Shell
.
FOIShellView
);
}
}
COMDLG32_SHFree
(
pidlCurrent
);
COMDLG32_SHFree
(
pidlCurrent
);
SendMessageW
(
fodInfos
->
DlgInfos
.
hwndFileName
,
EM_SETSEL
,
0
,
-
1
);
SendMessageW
(
fodInfos
->
DlgInfos
.
hwndFileName
,
EM_SETSEL
,
0
,
-
1
);
...
@@ -2322,8 +2323,11 @@ static void FILEDLG95_SHELL_Clean(HWND hwnd)
...
@@ -2322,8 +2323,11 @@ static void FILEDLG95_SHELL_Clean(HWND hwnd)
COMDLG32_SHFree
(
fodInfos
->
ShellInfos
.
pidlAbsCurrent
);
COMDLG32_SHFree
(
fodInfos
->
ShellInfos
.
pidlAbsCurrent
);
/* clean Shell interfaces */
/* clean Shell interfaces */
IShellView_DestroyViewWindow
(
fodInfos
->
Shell
.
FOIShellView
);
if
(
fodInfos
->
Shell
.
FOIShellView
)
IShellView_Release
(
fodInfos
->
Shell
.
FOIShellView
);
{
IShellView_DestroyViewWindow
(
fodInfos
->
Shell
.
FOIShellView
);
IShellView_Release
(
fodInfos
->
Shell
.
FOIShellView
);
}
IShellFolder_Release
(
fodInfos
->
Shell
.
FOIShellFolder
);
IShellFolder_Release
(
fodInfos
->
Shell
.
FOIShellFolder
);
IShellBrowser_Release
(
fodInfos
->
Shell
.
FOIShellBrowser
);
IShellBrowser_Release
(
fodInfos
->
Shell
.
FOIShellBrowser
);
if
(
fodInfos
->
Shell
.
FOIDataObject
)
if
(
fodInfos
->
Shell
.
FOIDataObject
)
...
@@ -2483,7 +2487,8 @@ static BOOL FILEDLG95_FILETYPE_OnCommand(HWND hwnd, WORD wNotifyCode)
...
@@ -2483,7 +2487,8 @@ static BOOL FILEDLG95_FILETYPE_OnCommand(HWND hwnd, WORD wNotifyCode)
}
}
/* Refresh the actual view to display the included items*/
/* Refresh the actual view to display the included items*/
IShellView_Refresh
(
fodInfos
->
Shell
.
FOIShellView
);
if
(
fodInfos
->
Shell
.
FOIShellView
)
IShellView_Refresh
(
fodInfos
->
Shell
.
FOIShellView
);
}
}
}
}
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