diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-14 11:44:47 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-14 11:44:47 +0300 |
commit | e70286c0f7b4fd9a20b5496adf7988cc2e368cad (patch) | |
tree | 04bb57a413482f09ea2cc39fde5ed31836cc8a43 | |
parent | 2f76f650f2f1d0e4e817ff03593a90414da629d1 (diff) |
code cleaning
-rw-r--r-- | plugins/Clist_modern/src/modern_clistevents.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
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;
|