From c2be2c3002a7c55453dd01138199857d1d9bcfaf Mon Sep 17 00:00:00 2001 From: offhub <6871698+offhub@users.noreply.github.com> Date: Sun, 10 Mar 2024 15:26:49 +0300 Subject: [PATCH] Update guimisc.c fix for BlockInterferePower --- Sandboxie/core/dll/guimisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sandboxie/core/dll/guimisc.c b/Sandboxie/core/dll/guimisc.c index 847121fb..c6bda3cf 100644 --- a/Sandboxie/core/dll/guimisc.c +++ b/Sandboxie/core/dll/guimisc.c @@ -266,7 +266,7 @@ _FX BOOLEAN Gui_InitMisc(HMODULE module) Ldr_GetProcAddrNew(DllName_user32, L"GetThreadDpiAwarenessContext","GetThreadDpiAwarenessContext"); - if (SbieApi_QueryConfBool(NULL, "BlockInterferePower", FALSE)) { + if (SbieApi_QueryConfBool(NULL, L"BlockInterferePower", FALSE)) { SBIEDLL_HOOK_GUI(ShutdownBlockReasonCreate);