https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3fd6fcf6eb4ad30b29af4…
commit 3fd6fcf6eb4ad30b29af4059d74534a53f8dd510
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sat Jan 20 22:52:53 2018 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Jan 21 21:13:08 2018 +0100
[APPHELP] Use GetSystemWindowsDirectory instead of GetWindowsDirectory
---
dll/appcompat/apphelp/hsdb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/appcompat/apphelp/hsdb.c b/dll/appcompat/apphelp/hsdb.c
index 9fb9ad5564..ea61555539 100644
--- a/dll/appcompat/apphelp/hsdb.c
+++ b/dll/appcompat/apphelp/hsdb.c
@@ -692,7 +692,7 @@ BOOL WINAPI SdbPackAppCompatData(HSDB hsdb, PSDBQUERYRESULT
pQueryResult, PVOID*
return FALSE;
}
- GetWindowsDirectoryW(pData->szModule, _countof(pData->szModule));
+ GetSystemWindowsDirectoryW(pData->szModule, _countof(pData->szModule));
hr = StringCchCatW(pData->szModule, _countof(pData->szModule),
L"\\system32\\apphelp.dll");
if (!SUCCEEDED(hr))
{