diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-02 14:12:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-02 14:12:59 +0300 |
commit | ae93aa98b214f98a0e28df1bdaa8df18b3f6da02 (patch) | |
tree | 6856f13b902b45e8ea9971df1c380fc18793dfec /plugins/TabSRMM/src/tabctrl.cpp | |
parent | 2fccd1a7a6f642c30fc4cbd2281c6feba5f8d82d (diff) |
further SRMM window unification
- CSrmmBaseDialog received m_hContact as its common member;
- less usage of CTabBaseDlg::m_bType in tabSRMM
Diffstat (limited to 'plugins/TabSRMM/src/tabctrl.cpp')
-rw-r--r-- | plugins/TabSRMM/src/tabctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/tabctrl.cpp b/plugins/TabSRMM/src/tabctrl.cpp index b82a1016dd..ec39dfb404 100644 --- a/plugins/TabSRMM/src/tabctrl.cpp +++ b/plugins/TabSRMM/src/tabctrl.cpp @@ -182,7 +182,7 @@ static void DrawItem(TabControlData *tabdat, HDC dc, RECT *rcItem, int nHint, in else if (dat->m_bCanFlashTab)
hIcon = dat->m_iFlashIcon;
else {
- if (dat->si && dat->m_iFlashIcon) {
+ if (dat->m_bType == SESSIONTYPE_CHAT && dat->m_iFlashIcon) {
hIcon = dat->m_iFlashIcon;
int sizeY;
|