Commit 6784ffcb authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

extrac32: Use the ARRAY_SIZE() macro.

parent e688e1c1
......@@ -118,7 +118,7 @@ static void copy_file(LPCWSTR source, LPCWSTR destination)
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];
snprintfW(msg, sizeof(msg)/sizeof(msg[0]), overwriteMsg, destination);
snprintfW(msg, ARRAY_SIZE(msg), overwriteMsg, destination);
if (MessageBoxW(NULL, msg, titleMsg, MB_YESNO | MB_ICONWARNING) != IDYES)
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