summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/templates.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/templates.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/templates.cpp')
-rw-r--r--plugins/TabSRMM/src/templates.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/templates.cpp b/plugins/TabSRMM/src/templates.cpp
index d169e08af0..48433b5192 100644
--- a/plugins/TabSRMM/src/templates.cpp
+++ b/plugins/TabSRMM/src/templates.cpp
@@ -129,7 +129,7 @@ CTemplateEditDlg::CTemplateEditDlg(BOOL _rtl, HWND hwndParent) :
m_pContainer = (TContainerData*)mir_calloc(sizeof(TContainerData));
LoadOverrideTheme(m_pContainer);
- tSet = rtl ? m_pContainer->rtl_templates : m_pContainer->ltr_templates;
+ tSet = rtl ? m_pContainer->m_rtl_templates : m_pContainer->m_ltr_templates;
listTemplates.OnDblClick = Callback(this, &CTemplateEditDlg::onDblClick_List);
listTemplates.OnSelChange = Callback(this, &CTemplateEditDlg::onSelChange_List);
@@ -158,7 +158,7 @@ bool CTemplateEditDlg::OnInitDialog()
m_hContact = db_find_next(m_hContact);
m_szProto = GetContactProto(m_hContact);
}
- m_dwFlags = m_pContainer->theme.dwFlags;
+ m_dwFlags = m_pContainer->m_theme.dwFlags;
m_cache = CContactCache::getContactCache(m_hContact);
m_cache->updateNick();