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
69dd2752
Commit
69dd2752
authored
Oct 05, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extrac32: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d4fa8265
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
extrac32.c
programs/extrac32/extrac32.c
+2
-4
No files found.
programs/extrac32/extrac32.c
View file @
69dd2752
...
...
@@ -115,11 +115,9 @@ static void copy_file(LPCWSTR source, LPCWSTR destination)
if
(
PathFileExistsW
(
destination
)
&&
!
force_mode
)
{
static
const
WCHAR
overwriteMsg
[]
=
{
'O'
,
'v'
,
'e'
,
'r'
,
'w'
,
'r'
,
'i'
,
't'
,
'e'
,
' '
,
'"'
,
'%'
,
's'
,
'"'
,
'?'
,
0
};
static
const
WCHAR
titleMsg
[]
=
{
'E'
,
'x'
,
't'
,
'r'
,
'a'
,
'c'
,
't'
,
0
};
WCHAR
msg
[
MAX_PATH
+
100
];
swprintf
(
msg
,
ARRAY_SIZE
(
msg
),
overwriteMsg
,
destination
);
if
(
MessageBoxW
(
NULL
,
msg
,
titleMsg
,
MB_YESNO
|
MB_ICONWARNING
)
!=
IDYES
)
swprintf
(
msg
,
ARRAY_SIZE
(
msg
),
L"Overwrite
\"
%s
\"
?"
,
destination
);
if
(
MessageBoxW
(
NULL
,
msg
,
L"Extract"
,
MB_YESNO
|
MB_ICONWARNING
)
!=
IDYES
)
return
;
}
...
...
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