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:
parent
bf413496cd
commit
07e1d6b081
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user