From 789aa2edb6337739caccbf0a5769d2419ffd4bb9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 24 Jul 2019 17:13:02 +0300 Subject: code cleaning --- plugins/TabSRMM/src/chat.h | 4 +--- plugins/TabSRMM/src/muchighlight.h | 8 ++++---- plugins/TabSRMM/src/themes.h | 4 ++-- 3 files changed, 7 insertions(+), 9 deletions(-) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/chat.h b/plugins/TabSRMM/src/chat.h index 29937c1346..6ff0094398 100644 --- a/plugins/TabSRMM/src/chat.h +++ b/plugins/TabSRMM/src/chat.h @@ -61,7 +61,6 @@ struct LOGSTREAMDATA : public GCLogStreamDataBase struct TMUCSettings : public GlobalLogSettingsBase { HICON hIconOverlay; - DWORD dwIconFlags; LONG iNickListFontHeight; HFONT UserListFonts[CHAT_STATUS_MAX]; @@ -70,13 +69,12 @@ struct TMUCSettings : public GlobalLogSettingsBase COLORREF nickColors[8]; HBRUSH SelectionBGBrush; bool bOpenInDefault, bBBCodeInPopups; - bool bShowContactStatus, bContactStatusFirst; bool bLogClassicIndicators, bAlternativeSorting, bAnnoyingHighlight, bCreateWindowOnHighlight; bool bLogSymbols, bClassicIndicators, bClickableNicks, bColorizeNicks, bColorizeNicksInLog; bool bScaleIcons, bUseCommaAsColon, bNewLineAfterNames; - CMUCHighlight* Highlight; + CMUCHighlight *Highlight; }; struct FLASH_PARAMS diff --git a/plugins/TabSRMM/src/muchighlight.h b/plugins/TabSRMM/src/muchighlight.h index 97b68886cc..46f0458fa0 100644 --- a/plugins/TabSRMM/src/muchighlight.h +++ b/plugins/TabSRMM/src/muchighlight.h @@ -56,15 +56,15 @@ private: void tokenize(wchar_t *tszString, wchar_t** &patterns, UINT &nr); DWORD m_dwFlags = 0; + UINT m_iNickPatterns = 0; + UINT m_iTextPatterns = 0; bool m_fInitialized = false; + bool m_Valid = true; + bool m_fHighlightMe; wchar_t **m_NickPatterns = nullptr; wchar_t **m_TextPatterns = nullptr; - UINT m_iNickPatterns = 0; - UINT m_iTextPatterns = 0; wchar_t *m_NickPatternString = nullptr; wchar_t *m_TextPatternString = nullptr; - bool m_Valid = true; - bool m_fHighlightMe; }; struct THighLightEdit diff --git a/plugins/TabSRMM/src/themes.h b/plugins/TabSRMM/src/themes.h index 24057311da..8aec16d505 100644 --- a/plugins/TabSRMM/src/themes.h +++ b/plugins/TabSRMM/src/themes.h @@ -159,8 +159,8 @@ public: HBRUSH brush, BYTE alpha, LONG inner_height, LONG inner_width, LONG height, LONG width) { m_bBottom = bottom; - m_bLeft = left, - m_bTop = top; + m_bLeft = left; + m_bTop = top; m_bRight = right; m_hdc = hdc; m_hbm = hbm; -- cgit v1.2.3