[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: [PATCH] faultrep: Use wide-char string literals.
From: Michael Stefaniuc <mstefani () winehq ! org>
Date: 2020-09-30 21:14:55
Message-ID: 20200930211456.349651-9-mstefani () winehq ! org
[Download RAW message or body]
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
---
dlls/faultrep/faultrep.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/dlls/faultrep/faultrep.c b/dlls/faultrep/faultrep.c
index 3191659cd6c..6d1aba9de8b 100644
--- a/dlls/faultrep/faultrep.c
+++ b/dlls/faultrep/faultrep.c
@@ -29,13 +29,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(faultrep);
-static const WCHAR SZ_EXCLUSIONLIST_KEY[] = {
- 'S','o','f','t','w','a','r','e','\\',
- 'M','i','c','r','o','s','o','f','t','\\',
- 'P','C','H','e','a','l','t','h','\\',
- 'E','r','r','o','r','R','e','p','o','r','t','i','n','g','\\',
- 'E','x','c','l','u','s','i','o','n','L','i','s','t', 0};
-
/*************************************************************************
* AddERExcludedApplicationW [FAULTREP.@]
*
@@ -70,7 +63,8 @@ BOOL WINAPI AddERExcludedApplicationW(LPCWSTR lpAppFileName)
return FALSE;
}
- res = RegCreateKeyW(HKEY_LOCAL_MACHINE, SZ_EXCLUSIONLIST_KEY, &hkey);
+ res = RegCreateKeyW(HKEY_LOCAL_MACHINE,
+ L"Software\\Microsoft\\PCHealth\\ErrorReporting\\ExclusionList", &hkey);
if (!res)
{
RegSetValueExW(hkey, lpAppFileName, 0, REG_DWORD, (LPBYTE)&value, sizeof(value));
--
2.26.2
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic