Alex Henrie : advpack: Turn variable 'prefix' into a static constant.
Alexandre Julliard
julliard at winehq.org
Fri Nov 30 14:34:40 CST 2018
Module: wine
Branch: master
Commit: 07e1d6b081dce5a35f4743051ae87d98931d6f92
URL: https://source.winehq.org/git/wine.git/?a=commit;h=07e1d6b081dce5a35f4743051ae87d98931d6f92
Author: Alex Henrie <alexhenrie24 at gmail.com>
Date: Fri Nov 30 00:13:57 2018 -0700
advpack: Turn variable 'prefix' into a static constant.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/advpack/reg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/advpack/reg.c b/dlls/advpack/reg.c
index fd0a199..82c1d2b 100644
--- a/dlls/advpack/reg.c
+++ b/dlls/advpack/reg.c
@@ -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;
More information about the wine-cvs
mailing list