From 76d7f6dbc04b828376d3e73809b936e8fac74e34 Mon Sep 17 00:00:00 2001 From: typpos <28550406+typpos@users.noreply.github.com> Date: Fri, 19 Feb 2021 15:04:01 +1100 Subject: [PATCH] Fix #586: Sandboxie crash when saving Sandboxie-Classic Sandbox appearance settings. --- Sandboxie/apps/control/BoxPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sandboxie/apps/control/BoxPage.cpp b/Sandboxie/apps/control/BoxPage.cpp index cb374b12..b0dbd4c3 100644 --- a/Sandboxie/apps/control/BoxPage.cpp +++ b/Sandboxie/apps/control/BoxPage.cpp @@ -966,7 +966,7 @@ void CBoxPage::Appearance_OnOK(CBox &box) BOOL enable = (pCheckBox3->GetCheck() == BST_CHECKED ? TRUE : FALSE); BOOL title = (pCheckBox4->GetCheck() == BST_CHECKED ? TRUE : FALSE); CString str; - GetDlgItem(ID_MIGRATE_KB)->GetWindowText(str); + GetDlgItem(ID_BORDER_WIDTH)->GetWindowText(str); int width = _wtoi(str); ok = box.SetBorder(enable, Appearance_BorderColor, title, width); }