Fix #586: Sandboxie crash when saving Sandboxie-Classic Sandbox appearance settings.
This commit is contained in:
parent
1176d6e384
commit
76d7f6dbc0
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue