diff options
author | George Hazan <ghazan@miranda.im> | 2019-12-04 16:08:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-12-04 16:08:03 +0300 |
commit | 3bb16e798cb51d5764aacbefd4edf26f52d8c4f0 (patch) | |
tree | 59dbb53fc9496d660ec2ef2846a4eab0f1720b88 /plugins/TabSRMM/src/templates.cpp | |
parent | 3216d8df5cb355f34c82ed10b7e40bab7525b697 (diff) |
GetContactProto: useless duplicate function replaced with standard Proto_GetBaseAccountName
Diffstat (limited to 'plugins/TabSRMM/src/templates.cpp')
-rw-r--r-- | plugins/TabSRMM/src/templates.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/templates.cpp b/plugins/TabSRMM/src/templates.cpp index b168691a1d..cf511c431d 100644 --- a/plugins/TabSRMM/src/templates.cpp +++ b/plugins/TabSRMM/src/templates.cpp @@ -148,10 +148,10 @@ bool CTemplateEditDlg::OnInitDialog() // set hContact to the first found contact so that we can use the Preview window properly // also, set other parameters needed by the streaming function to display events m_hContact = db_find_first(); - m_szProto = GetContactProto(m_hContact); + m_szProto = Proto_GetBaseAccountName(m_hContact); while (m_szProto == nullptr && m_hContact != 0) { m_hContact = db_find_next(m_hContact); - m_szProto = GetContactProto(m_hContact); + m_szProto = Proto_GetBaseAccountName(m_hContact); } m_dwFlags = m_pContainer->m_theme.dwFlags; |