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
19e85ca5
Commit
19e85ca5
authored
Oct 01, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Another cast-qual warning fix.
parent
30806fc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
shlfileop.c
dlls/shell32/shlfileop.c
+3
-1
No files found.
dlls/shell32/shlfileop.c
View file @
19e85ca5
...
...
@@ -133,6 +133,7 @@ BOOL SHELL_ConfirmDialogW(HWND hWnd, int nKindOfDialog, LPCWSTR szDir)
WCHAR
szCaption
[
255
],
szText
[
255
],
szBuffer
[
MAX_PATH
+
256
];
SHELL_ConfirmIDstruc
ids
;
MSGBOXPARAMSW
params
;
DWORD_PTR
args
[
1
];
if
(
!
SHELL_ConfirmIDs
(
nKindOfDialog
,
&
ids
))
return
FALSE
;
...
...
@@ -140,8 +141,9 @@ BOOL SHELL_ConfirmDialogW(HWND hWnd, int nKindOfDialog, LPCWSTR szDir)
LoadStringW
(
shell32_hInstance
,
ids
.
caption_resource_id
,
szCaption
,
sizeof
(
szCaption
)
/
sizeof
(
WCHAR
));
LoadStringW
(
shell32_hInstance
,
ids
.
text_resource_id
,
szText
,
sizeof
(
szText
)
/
sizeof
(
WCHAR
));
args
[
0
]
=
(
DWORD_PTR
)
szDir
;
FormatMessageW
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
szText
,
0
,
0
,
szBuffer
,
sizeof
(
szBuffer
),
(
va_list
*
)
&
szDir
);
szText
,
0
,
0
,
szBuffer
,
sizeof
(
szBuffer
),
(
va_list
*
)
args
);
ZeroMemory
(
&
params
,
sizeof
(
params
));
params
.
cbSize
=
sizeof
(
MSGBOXPARAMSW
);
...
...
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