[PATCH] advpack: Turn variable 'prefix' into a static constant
Alex Henrie
alexhenrie24 at gmail.com
Fri Nov 30 01:13:57 CST 2018
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
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 fd0a199b00..82c1d2b6e8 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;
--
2.19.2
More information about the wine-devel
mailing list