[PATCH] shell32: In SHRestricted add missing slash
Fabian Maurer
dark.shadow4 at web.de
Tue Mar 12 17:05:07 CDT 2019
Credits for this fix goes to the ReactOS devs
See https://jira.reactos.org/browse/CORE-15666
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
dlls/shell32/shpolicy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/shell32/shpolicy.c b/dlls/shell32/shpolicy.c
index 62e6ab5760..a05c7e96fd 100644
--- a/dlls/shell32/shpolicy.c
+++ b/dlls/shell32/shpolicy.c
@@ -854,6 +854,7 @@ DWORD WINAPI SHRestricted (RESTRICTIONS policy)
}
lstrcpyA(regstr, strRegistryPolicyA);
+ lstrcatA(regstr, "\\");
lstrcatA(regstr, p->appstr);
/* return 0 and don't set the cache if any registry errors occur */
--
2.21.0
More information about the wine-devel
mailing list