diff options
| author | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
| commit | 53fe3e46177d17b4941610de19f5cc6210700cb4 (patch) | |
| tree | b67a6bc208dad141f9db14035cd7e42ff2a51872 /plugins/SMS/src/senddlg.cpp | |
| parent | 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (diff) | |
db_* functions replaced with g_plugin calls
Diffstat (limited to 'plugins/SMS/src/senddlg.cpp')
| -rw-r--r-- | plugins/SMS/src/senddlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SMS/src/senddlg.cpp b/plugins/SMS/src/senddlg.cpp index 8ce68079e1..ab495836d1 100644 --- a/plugins/SMS/src/senddlg.cpp +++ b/plugins/SMS/src/senddlg.cpp @@ -107,7 +107,7 @@ INT_PTR CALLBACK SendSmsDlgProc(HWND hWndDlg, UINT message, WPARAM wParam, LPARA hFont = CreateFontIndirect(&lf);
SendDlgItemMessage(hWndDlg, IDC_MESSAGE, WM_SETFONT, (WPARAM)hFont, MAKELPARAM(TRUE, 0));
- COLORREF colour = db_get_dw(NULL, SRMMMOD, SRMSGSET_INPBKGCOLOUR, SRMSGDEFSET_BKGCOLOUR);
+ COLORREF colour = db_get_dw(0, SRMMMOD, SRMSGSET_INPBKGCOLOUR, SRMSGDEFSET_BKGCOLOUR);
psswdWindowData->hBkgBrush = CreateSolidBrush(colour);
}
{
@@ -236,7 +236,7 @@ INT_PTR CALLBACK SendSmsDlgProc(HWND hWndDlg, UINT message, WPARAM wParam, LPARA LoadMsgDlgFont(MSGFONTID_MESSAGEAREA, nullptr, &colour);
SetTextColor((HDC)wParam, colour);
- SetBkColor((HDC)wParam, db_get_dw(NULL, SRMMMOD, SRMSGSET_INPBKGCOLOUR, SRMSGDEFSET_BKGCOLOUR));
+ SetBkColor((HDC)wParam, db_get_dw(0, SRMMMOD, SRMSGSET_INPBKGCOLOUR, SRMSGDEFSET_BKGCOLOUR));
return((INT_PTR)psswdWindowData->hBkgBrush);
}
break;
|
