From 34809716f9fb11fca34ca5b706f2f1e017cd5bfb Mon Sep 17 00:00:00 2001 From: isaak654 Date: Sat, 21 Oct 2023 16:52:38 +0200 Subject: [PATCH] Typo fix and codespell update --- .github/workflows/codespell.yml | 2 ++ Sandboxie/core/svc/MountManager.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 14baf9ff..a461288e 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -98,6 +98,8 @@ jobs: echo 'strickt->strict' >> dictionary.txt echo 'brak->break' >> dictionary.txt echo "lets->let's" >> dictionary.txt + echo 'booth->both' >> dictionary.txt + echo 'vcertificate->certificate' >> dictionary.txt echo 'crome->Chrome' >> dictionary_code.txt echo 'chromim->Chromium' >> dictionary_code.txt echo 'kmdutill->kmdutil' >> dictionary_code.txt diff --git a/Sandboxie/core/svc/MountManager.cpp b/Sandboxie/core/svc/MountManager.cpp index 12f86602..7c5c8eaf 100644 --- a/Sandboxie/core/svc/MountManager.cpp +++ b/Sandboxie/core/svc/MountManager.cpp @@ -951,8 +951,8 @@ bool MountManager::AcquireBoxRoot(const WCHAR* boxname, const WCHAR* reg_root, c BOOLEAN UseFileImage = SbieApi_QueryConfBool(boxname, L"UseFileImage", FALSE); // - // We use the [KeyRootPath] to uniquely identify a sandbox, the driver requires - // booth [KeyRootPath] as well as the hive file location [FileRootPath]\RegHive to match, + // We use the [KeyRootPath] to uniquely identify a sandbox, the driver requires + // both [KeyRootPath] as well as the hive file location [FileRootPath]\RegHive to match, // hence either is a good unique identifier, in case of a conflict the second sandbox start attempt fails. // As SbieApi_GetUnmountHive provides only [KeyRootPath] and no file path it is expedient to use it. //