summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/mim.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-07 15:29:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-07 15:29:12 +0300
commite43e5e9e3ff94b20953c840a819952e4221654fa (patch)
treeb942f39b5d614bb62ee21b18c700507b8b8ed5aa /plugins/TabSRMM/src/mim.cpp
parented526dc2746319cc3dbe376e9af20f6a49850687 (diff)
tabSRMM:
- useless message DM_SETICON replaced with a call of SetIcon; - fixes #1866 (when sub is changed, tabSRMM doesn't update an avatar in taskbar) - code cleaning & names conflict resolution
Diffstat (limited to 'plugins/TabSRMM/src/mim.cpp')
-rw-r--r--plugins/TabSRMM/src/mim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp
index 30e8e92d39..2cd7af03cc 100644
--- a/plugins/TabSRMM/src/mim.cpp
+++ b/plugins/TabSRMM/src/mim.cpp
@@ -237,7 +237,7 @@ int CMimAPI::TypingMessage(WPARAM hContact, LPARAM mode)
}
else fShowOnClist = false;
- if ((!foundWin || !(pContainer->dwFlags & CNT_NOSOUND)) && preTyping != (mode != 0))
+ if ((!foundWin || !(pContainer->m_dwFlags & CNT_NOSOUND)) && preTyping != (mode != 0))
Skin_PlaySound(mode ? "TNStart" : "TNStop");
if (g_plugin.getByte("ShowTypingPopup", 0)) {
@@ -259,7 +259,7 @@ int CMimAPI::TypingMessage(WPARAM hContact, LPARAM mode)
if (PluginConfig.m_bHideOnClose) {
TContainerData *pCont = nullptr;
SendMessage(hwnd, DM_QUERYCONTAINER, 0, (LPARAM)&pCont);
- if (pCont && pCont->fHidden)
+ if (pCont && pCont->m_bHidden)
fShow = true;
}
}