summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-24 17:13:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-24 17:13:02 +0300
commit789aa2edb6337739caccbf0a5769d2419ffd4bb9 (patch)
treef9420d17e59016f50ad5162c052ada6ba001f551 /plugins/TabSRMM
parentdda1c6b8e7c98a4a5b31661e9b389b594172484c (diff)
code cleaning
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/chat.h4
-rw-r--r--plugins/TabSRMM/src/muchighlight.h8
-rw-r--r--plugins/TabSRMM/src/themes.h4
3 files changed, 7 insertions, 9 deletions
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;