summaryrefslogtreecommitdiff
path: root/otr/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'otr/options.cpp')
-rw-r--r--otr/options.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/otr/options.cpp b/otr/options.cpp
index 4e8db52..cee195e 100644
--- a/otr/options.cpp
+++ b/otr/options.cpp
@@ -233,6 +233,7 @@ INT_PTR CALLBACK DlgProcOpts1(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar
CheckDlgButton(hwndDlg, IDC_CHK_PREFIX, options.prefix_messages ? TRUE : FALSE);
CheckDlgButton(hwndDlg, IDC_CHK_MSGINLINE, options.msg_inline ? TRUE : FALSE);
+ CheckDlgButton(hwndDlg, IDC_CHK_TIMEFINISH, options.timeout_finished ? TRUE : FALSE);
SetDlgItemText(hwndDlg, IDC_ED_PREFIX, options.prefix);
return TRUE;
@@ -480,6 +481,7 @@ INT_PTR CALLBACK DlgProcOpts1(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar
options.prefix_messages = IsDlgButtonChecked(hwndDlg, IDC_CHK_PREFIX) ? true : false;
options.msg_inline = IsDlgButtonChecked(hwndDlg, IDC_CHK_MSGINLINE) ? true : false;
+ options.timeout_finished = IsDlgButtonChecked(hwndDlg, IDC_CHK_TIMEFINISH) ? true : false;
GetDlgItemText(hwndDlg, IDC_ED_PREFIX, options.prefix, 64);
ContactPolicyMap *contact_policies = (ContactPolicyMap *)GetWindowLong(hwndDlg, GWL_USERDATA);