From a6e575cd6bcef8a7ceafc2bd4cc70d1fd8bd9775 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 19 Jan 2014 16:15:49 +0000 Subject: no need to read settings from db when they are in memory git-svn-id: http://svn.miranda-ng.org/main/trunk@7763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/generic_msghandlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp') diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index 005ff4d7e6..a1f7bbd9ae 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -765,7 +765,7 @@ void TSAPI DM_InitRichEdit(TWindowData *dat) HWND hwndDlg = dat->hwnd; dat->inputbg = fIsChat ? M.GetDword(FONTMODULE, "inputbg", SRMSGDEFSET_BKGCOLOUR) : dat->pContainer->theme.inputbg; - COLORREF colour = fIsChat ? M.GetDword(FONTMODULE, SRMSGSET_BKGCOLOUR_MUC, SRMSGDEFSET_BKGCOLOUR) : dat->pContainer->theme.bg; + COLORREF colour = fIsChat ? g_Settings.crLogBackground : dat->pContainer->theme.bg; COLORREF inputcharcolor; if (!fIsChat && GetWindowTextLengthA(hwndEdit) > 0) -- cgit v1.2.3