From 0274074298131f758d7c4c19c5b8aae2175c798e Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Sat, 20 Apr 2024 20:27:15 +0200 Subject: [PATCH] fix --- CHANGELOG.md | 1 + SandboxiePlus/SandMan/Windows/OptionsForce.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae91a73a..5de7e848 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - fixed KeePass "Out of Memory" crash due to "BlockScreenCapture=y" [#3768](https://github.com/sandboxie-plus/Sandboxie/issues/3768) - fixed Sandboxie 1.13.4 with IsBlockCapture=y brakes on Windows 7 [#3769](https://github.com/sandboxie-plus/Sandboxie/issues/3769) - fixed explorer.exe issue "FakeAdminRights=y" [#3638](https://github.com/sandboxie-plus/Sandboxie/issues/3638) +- fixed Make it possible to disable forced folder warning [#3569](https://github.com/sandboxie-plus/Sandboxie/issues/3569) diff --git a/SandboxiePlus/SandMan/Windows/OptionsForce.cpp b/SandboxiePlus/SandMan/Windows/OptionsForce.cpp index 244ad215..f52be6d9 100644 --- a/SandboxiePlus/SandMan/Windows/OptionsForce.cpp +++ b/SandboxiePlus/SandMan/Windows/OptionsForce.cpp @@ -294,7 +294,7 @@ bool COptionsWindow::CheckForcedItem(const QString& Value, int type) } else { - if (Value.left(3).compare(winPath.left(3), Qt::CaseInsensitive) == 0) + if (Value.compare(winPath.left(3), Qt::CaseInsensitive) == 0) bDangerous = true; // SystemDrive (C:\) else if (Value.compare(winPath, Qt::CaseInsensitive) == 0) bDangerous = true; // SystemRoot (C:\Windows)