summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-14 15:43:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-14 15:43:25 +0300
commit28b81bbed5d8db354349fd787c3db4123e55d423 (patch)
tree9861c246bdb7696c25adbbcd9f210dda430f846e /src/core
parent4b933c7b73a4151872dea3119685cdebe40532c7 (diff)
code cleaning
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdclist/src/clcopts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdclist/src/clcopts.cpp b/src/core/stdclist/src/clcopts.cpp
index 61fcd13d12..67a282df1b 100644
--- a/src/core/stdclist/src/clcopts.cpp
+++ b/src/core/stdclist/src/clcopts.cpp
@@ -375,12 +375,12 @@ static INT_PTR CALLBACK DlgProcClcBkgOpts(HWND hwndDlg, UINT msg, WPARAM wParam,
COLORREF col;
col = SendDlgItemMessage(hwndDlg, IDC_BKGCOLOUR, CPM_GETCOLOUR, 0, 0);
if (col == CLCDEFAULT_BKCOLOUR)
- db_unset(NULL, "CLC", "BkColour");
+ db_unset(0, "CLC", "BkColour");
else
db_set_dw(0, "CLC", "BkColour", col);
col = SendDlgItemMessage(hwndDlg, IDC_SELCOLOUR, CPM_GETCOLOUR, 0, 0);
if (col == CLCDEFAULT_SELBKCOLOUR)
- db_unset(NULL, "CLC", "SelBkColour");
+ db_unset(0, "CLC", "SelBkColour");
else
db_set_dw(0, "CLC", "SelBkColour", col);
db_set_b(0, "CLC", "UseWinColours", (BYTE)(IsDlgButtonChecked(hwndDlg, IDC_WINCOLOUR)));