Commit 07e1d6b0 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

advpack: Turn variable 'prefix' into a static constant.

parent bf413496
......@@ -41,8 +41,8 @@ static const WCHAR quote[] = {'\"',0};
static BOOL get_temp_ini_path(LPWSTR name)
{
static const WCHAR prefix[] = {'a','v','p',0};
WCHAR tmp_dir[MAX_PATH];
WCHAR prefix[] = {'a','v','p',0};
if(!GetTempPathW(ARRAY_SIZE(tmp_dir), tmp_dir))
return FALSE;
......
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