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
10c1faa7
Commit
10c1faa7
authored
Oct 22, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Cast-qual warning fix.
parent
0c868151
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
filedlg31.c
dlls/comdlg32/filedlg31.c
+4
-2
No files found.
dlls/comdlg32/filedlg31.c
View file @
10c1faa7
...
@@ -724,12 +724,14 @@ void FD31_MapOfnStructA(const LPOPENFILENAMEA ofnA, LPOPENFILENAMEW ofnW, BOOL o
...
@@ -724,12 +724,14 @@ void FD31_MapOfnStructA(const LPOPENFILENAMEA ofnA, LPOPENFILENAMEW ofnW, BOOL o
ofnW
->
lpstrTitle
=
usBuffer
.
Buffer
;
ofnW
->
lpstrTitle
=
usBuffer
.
Buffer
;
}
else
{
}
else
{
WCHAR
buf
[
16
];
WCHAR
buf
[
16
];
LPWSTR
title_tmp
;
int
len
;
int
len
;
LoadStringW
(
COMDLG32_hInstance
,
open
?
IDS_OPEN_FILE
:
IDS_SAVE_AS
,
LoadStringW
(
COMDLG32_hInstance
,
open
?
IDS_OPEN_FILE
:
IDS_SAVE_AS
,
buf
,
sizeof
(
buf
)
/
sizeof
(
WCHAR
));
buf
,
sizeof
(
buf
)
/
sizeof
(
WCHAR
));
len
=
lstrlenW
(
buf
)
+
1
;
len
=
lstrlenW
(
buf
)
+
1
;
ofnW
->
lpstrTitle
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
));
title_tmp
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
));
memcpy
((
void
*
)
ofnW
->
lpstrTitle
,
buf
,
len
*
sizeof
(
WCHAR
));
memcpy
(
title_tmp
,
buf
,
len
*
sizeof
(
WCHAR
));
ofnW
->
lpstrTitle
=
title_tmp
;
}
}
ofnW
->
Flags
=
ofnA
->
Flags
;
ofnW
->
Flags
=
ofnA
->
Flags
;
ofnW
->
nFileOffset
=
ofnA
->
nFileOffset
;
ofnW
->
nFileOffset
=
ofnA
->
nFileOffset
;
...
...
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