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

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2018-11-30 00:13:57 -07:00 committed by Alexandre Julliard
parent bf413496cd
commit 07e1d6b081
1 changed files with 1 additions and 1 deletions

View File

@ -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;