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
07e26347
Commit
07e26347
authored
Jun 25, 2002
by
Jason Edmeades
Committed by
Alexandre Julliard
Jun 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed crash in open file dialog on non-windows 98 emulation when
lpszInitialDir is null.
parent
99b33074
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
filedlg95.c
dlls/commdlg/filedlg95.c
+8
-1
No files found.
dlls/commdlg/filedlg95.c
View file @
07e26347
...
...
@@ -1124,7 +1124,14 @@ static LRESULT FILEDLG95_InitControls(HWND hwnd)
if
(
result
)
{
strcpy
(
fodInfos
->
ofnInfos
->
lpstrFile
,
nameBit
);
*
nameBit
=
0x00
;
strcpy
((
LPSTR
)
fodInfos
->
ofnInfos
->
lpstrInitialDir
,
tmpBuf
);
if
(
fodInfos
->
ofnInfos
->
lpstrInitialDir
==
NULL
)
{
initDir
=
MemAlloc
(
strlen
(
tmpBuf
)
+
1
);
fodInfos
->
ofnInfos
->
lpstrInitialDir
=
initDir
;
strcpy
(
initDir
,
tmpBuf
);
handledPath
=
TRUE
;
}
else
{
strcpy
((
LPSTR
)
fodInfos
->
ofnInfos
->
lpstrInitialDir
,
tmpBuf
);
}
handledPath
=
TRUE
;
TRACE
(
"Value in lpstrFile includes path, overriding lpstrInitialDir: %s, %s
\n
"
,
fodInfos
->
ofnInfos
->
lpstrFile
,
fodInfos
->
ofnInfos
->
lpstrInitialDir
);
...
...
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