summaryrefslogtreecommitdiff
path: root/plugins/SkypeStatusChange/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SkypeStatusChange/src/options.cpp')
-rw-r--r--plugins/SkypeStatusChange/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SkypeStatusChange/src/options.cpp b/plugins/SkypeStatusChange/src/options.cpp
index 29514f6529..4e22bacc57 100644
--- a/plugins/SkypeStatusChange/src/options.cpp
+++ b/plugins/SkypeStatusChange/src/options.cpp
@@ -247,8 +247,8 @@ static INT_PTR CALLBACK SettingsDlgProc(HWND hdlg,UINT msg,WPARAM wp,LPARAM lp)
TreeView_SetImageList(hwndTreeCtrl,hImage,TVSIL_STATE);
InitProtocolTree(hdlg,hwndTreeCtrl);
}
- CheckDlgButton(hdlg,IDC_CHECK_SYNCK_STATUS_MSG,(true == g_Options.GetSyncStatusMsgFlag()) ? 1 : 0);
- CheckDlgButton(hdlg,IDC_CHECK_STATUSES,(true == g_Options.GetSyncStatusStateFlag()) ? 1 : 0);
+ CheckDlgButton(hdlg, IDC_CHECK_SYNCK_STATUS_MSG, (g_Options.GetSyncStatusMsgFlag()) ? BST_CHECKED : BST_UNCHECKED);
+ CheckDlgButton(hdlg, IDC_CHECK_STATUSES, (g_Options.GetSyncStatusStateFlag()) ? BST_CHECKED : BST_UNCHECKED);
return TRUE;
case WM_NOTIFY: