Commit 69dd2752 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

extrac32: Use wide-char string literals.

parent d4fa8265
...@@ -115,11 +115,9 @@ static void copy_file(LPCWSTR source, LPCWSTR destination) ...@@ -115,11 +115,9 @@ static void copy_file(LPCWSTR source, LPCWSTR destination)
if (PathFileExistsW(destination) && !force_mode) 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]; WCHAR msg[MAX_PATH+100];
swprintf(msg, ARRAY_SIZE(msg), overwriteMsg, destination); swprintf(msg, ARRAY_SIZE(msg), L"Overwrite \"%s\"?", destination);
if (MessageBoxW(NULL, msg, titleMsg, MB_YESNO | MB_ICONWARNING) != IDYES) if (MessageBoxW(NULL, msg, L"Extract", MB_YESNO | MB_ICONWARNING) != IDYES)
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment