Fabian Maurer : shell32: In SHRestricted add missing slash.

Alexandre Julliard julliard at winehq.org
Tue Mar 19 17:09:21 CDT 2019


Module: wine
Branch: master
Commit: dbbfa481539acd29de47ff6cd5cc2d24a2e01871
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=dbbfa481539acd29de47ff6cd5cc2d24a2e01871

Author: Fabian Maurer <dark.shadow4 at web.de>
Date:   Tue Mar 12 23:05:07 2019 +0100

shell32: In SHRestricted add missing slash.

Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
Signed-off-by: Alexandre Julliard <julliard at 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 */




More information about the wine-cvs mailing list