diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-03 11:23:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-03 11:23:33 +0000 |
commit | 9e1a2beaf1db681e6f0108d62f30e86a76bb6e9f (patch) | |
tree | 42521c10e2b37637545f883179928d294938c691 /plugins/TabSRMM/src/contactcache.cpp | |
parent | 67585ba8617748c8df280ee6bb69214079017554 (diff) |
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@5562 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.cpp')
-rw-r--r-- | plugins/TabSRMM/src/contactcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp index 3dc6d73fe4..aa61df56c0 100644 --- a/plugins/TabSRMM/src/contactcache.cpp +++ b/plugins/TabSRMM/src/contactcache.cpp @@ -134,7 +134,7 @@ bool CContactCache::updateNick() bool fChanged = false;
if (m_Valid) {
- TCHAR *tszNick = reinterpret_cast<TCHAR *>(::CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)m_hContact, GCDNF_TCHAR));
+ TCHAR *tszNick = pcli->pfnGetContactDisplayName(m_hContact, 0);
if (tszNick)
fChanged = (_tcscmp(m_szNick, tszNick) ? true : false);
mir_sntprintf(m_szNick, 80, _T("%s"), tszNick ? tszNick : _T("<undef>"));
|