mirror of
https://github.com/PaperCutSoftware/GhostTrap.git
synced 2025-12-10 00:31:35 -06:00
Fix to Nimesh Silva's std::unique_ptr changes in commit 94176b2b663587d4bac898fd4822870bbfd4af35.
This commit is contained in:
parent
94176b2b66
commit
c47cdc1109
@ -420,7 +420,7 @@ static void ApplyPolicy(sandbox::TargetPolicy &policy, int argc, wchar_t* argv[]
|
||||
GetWindowsDirectory(win_dir, MAX_PATH - 1);
|
||||
wchar_t dir_rule[MAX_PATH];
|
||||
_snwprintf(dir_rule, MAX_PATH - 1, L"%s\\Fonts\\*", win_dir);
|
||||
(void) policy->GetConfig()->AddRule(
|
||||
(void) policy.GetConfig()->AddRule(
|
||||
sandbox::SubSystem::kFiles,
|
||||
sandbox::Semantics::kFilesAllowReadonly,
|
||||
dir_rule
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user