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)