[SHPOLICY] Fix the missing backslash in SHRestricted. CORE-15666 (#1267)

Import Wine commit https://source.winehq.org/git/wine.git/?a=commit;h=dbbfa481539acd29de47ff6cd5cc2d24a2e01871

Original patch from Yaroslav Kibysh, reported to Wine and committed there by Fabian Maurer.
Thank you all!
This commit is contained in:
Yaroslav Kibysh 2019-03-23 19:28:39 +02:00 committed by Hermès BÉLUSCA - MAÏTO
parent 3747699735
commit 3999e875be

View file

@ -856,6 +856,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 */