summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/stdchat/src/options.cpp8
-rw-r--r--src/core/stdmsg/src/msgoptions.cpp5
2 files changed, 8 insertions, 5 deletions
diff --git a/src/core/stdchat/src/options.cpp b/src/core/stdchat/src/options.cpp
index b2b637bf76..1006a9bcbb 100644
--- a/src/core/stdchat/src/options.cpp
+++ b/src/core/stdchat/src/options.cpp
@@ -52,8 +52,8 @@ static const struct branch_t branch1[] = {
{ LPGENT("Do not play sounds when the chat room is focused"), "SoundsFocus", 0, 0},
{ LPGENT("Do not pop up the window when joining a chat room"), "PopupOnJoin", 0,0},
{ LPGENT("Toggle the visible state when double clicking in the contact list"), "ToggleVisibility", 0,0},
- {LPGENT("Show contact statuses if protocol supports them"), "ShowContactStatus", 0,0},
- {LPGENT("Display contact status icon before user role icon"), "ContactStatusFirst", 0,0},
+ { LPGENT("Show contact statuses if protocol supports them"), "ShowContactStatus", 0, 0 },
+ { LPGENT("Display contact status icon before user role icon"), "ContactStatusFirst", 0, 0 },
};
static const struct branch_t branch2[] = {
@@ -174,10 +174,10 @@ static void FillBranch(HWND hwndTree, HTREEITEM hParent, const struct branch_t *
static void SaveBranch(HWND hwndTree, const struct branch_t *branch, HTREEITEM *hItemB, int nValues)
{
- TVITEM tvi;
int iState = 0;
- tvi.mask=TVIF_HANDLE|TVIF_STATE;
+ TVITEM tvi;
+ tvi.mask = TVIF_HANDLE | TVIF_STATE;
for (int i = 0; i < nValues; i++) {
tvi.hItem = hItemB[i];
TreeView_GetItem(hwndTree,&tvi);
diff --git a/src/core/stdmsg/src/msgoptions.cpp b/src/core/stdmsg/src/msgoptions.cpp
index 98b4fc8520..7e6aee4da6 100644
--- a/src/core/stdmsg/src/msgoptions.cpp
+++ b/src/core/stdmsg/src/msgoptions.cpp
@@ -355,8 +355,11 @@ static INT_PTR CALLBACK DlgProcLogOptions(HWND hwndDlg, UINT msg, WPARAM wParam,
CheckDlgButton(hwndDlg, IDC_SHOWSECS, db_get_b(NULL, SRMMMOD, SRMSGSET_SHOWSECS, SRMSGDEFSET_SHOWSECS));
EnableWindow(GetDlgItem(hwndDlg, IDC_SHOWDATES), IsDlgButtonChecked(hwndDlg, IDC_SHOWTIMES));
CheckDlgButton(hwndDlg, IDC_SHOWDATES, db_get_b(NULL, SRMMMOD, SRMSGSET_SHOWDATE, SRMSGDEFSET_SHOWDATE));
- CheckDlgButton(hwndDlg, IDC_SHOWSTATUSCHANGES, db_get_b(NULL, SRMMMOD, SRMSGSET_SHOWSTATUSCH, SRMSGDEFSET_SHOWSTATUSCH));
CheckDlgButton(hwndDlg, IDC_SHOWFORMATTING, db_get_b(NULL, SRMMMOD, SRMSGSET_SHOWFORMAT, SRMSGDEFSET_SHOWFORMAT));
+
+ // CheckDlgButton(hwndDlg, IDC_SHOWSTATUSCHANGES, db_get_b(NULL, SRMMMOD, SRMSGSET_SHOWSTATUSCH, SRMSGDEFSET_SHOWSTATUSCH));
+ CheckDlgButton(hwndDlg, IDC_SHOWSTATUSCHANGES, FALSE);
+ EnableWindow(GetDlgItem(hwndDlg, IDC_SHOWSTATUSCHANGES), FALSE);
return TRUE;
case WM_COMMAND: