From e52c300401ddd8188a9fb9db307e369428cbeb19 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 26 Jul 2014 17:02:28 +0000 Subject: - unified bkChanged processing; - clist background bitmap processing also moved to the core git-svn-id: http://svn.miranda-ng.org/main/trunk@9950 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/clcmsgs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/clist/clcmsgs.cpp') diff --git a/src/modules/clist/clcmsgs.cpp b/src/modules/clist/clcmsgs.cpp index 96738ab866..a3d477c871 100644 --- a/src/modules/clist/clcmsgs.cpp +++ b/src/modules/clist/clcmsgs.cpp @@ -331,18 +331,18 @@ LRESULT fnProcessExternalMessages(HWND hwnd, struct ClcData *dat, UINT msg, WPAR } case CLM_SETBKBITMAP: - if (!dat->bkChanged && dat->hBmpBackground) { + if (dat->hBmpBackground) { DeleteObject(dat->hBmpBackground); dat->hBmpBackground = NULL; } - dat->hBmpBackground = (HBITMAP) lParam; + dat->hBmpBackground = (HBITMAP)lParam; dat->backgroundBmpUse = wParam; dat->bkChanged = 1; cli.pfnInvalidateRect(hwnd, NULL, FALSE); break; case CLM_SETBKCOLOR: - if (!dat->bkChanged && dat->hBmpBackground) { + if (dat->hBmpBackground) { DeleteObject(dat->hBmpBackground); dat->hBmpBackground = NULL; } -- cgit v1.2.3