Fabian Maurer : shell32: In SHRestricted add missing slash.
Module: wine Branch: master Commit: dbbfa481539acd29de47ff6cd5cc2d24a2e01871 URL: https://source.winehq.org/git/wine.git/?a=commit;h=dbbfa481539acd29de47ff6cd... Author: Fabian Maurer <dark.shadow4(a)web.de> Date: Tue Mar 12 23:05:07 2019 +0100 shell32: In SHRestricted add missing slash. Signed-off-by: Fabian Maurer <dark.shadow4(a)web.de> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/shell32/shpolicy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/shell32/shpolicy.c b/dlls/shell32/shpolicy.c index 62e6ab5..a05c7e9 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 */
participants (1)
-
Alexandre Julliard