From e70286c0f7b4fd9a20b5496adf7988cc2e368cad Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 14 Mar 2018 11:44:47 +0300 Subject: code cleaning --- plugins/Clist_modern/src/modern_clistevents.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'plugins/Clist_modern/src') diff --git a/plugins/Clist_modern/src/modern_clistevents.cpp b/plugins/Clist_modern/src/modern_clistevents.cpp index 77032c27c5..0caf90b0d7 100644 --- a/plugins/Clist_modern/src/modern_clistevents.cpp +++ b/plugins/Clist_modern/src/modern_clistevents.cpp @@ -202,18 +202,10 @@ int cli_RemoveEvent(MCONTACT hContact, MEVENT hDbEvent) struct event_area_t { - HBITMAP hBmpBackground; - COLORREF bkColour; - int useWinColors; - int backgroundBmpUse; - - event_area_t() : - hBmpBackground(nullptr), - bkColour(CLCDEFAULT_BKCOLOUR), - useWinColors(CLCDEFAULT_USEWINDOWSCOLOURS), - backgroundBmpUse(CLCDEFAULT_USEBITMAP) - { - } + HBITMAP hBmpBackground = nullptr; + COLORREF bkColour = CLCDEFAULT_BKCOLOUR; + int useWinColors = CLCDEFAULT_USEWINDOWSCOLOURS; + int backgroundBmpUse = CLCDEFAULT_USEBITMAP; }; static event_area_t event_area; -- cgit v1.2.3