diff options
Diffstat (limited to 'plugins/MirandaG15/src/CChatScreen.cpp')
-rw-r--r-- | plugins/MirandaG15/src/CChatScreen.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MirandaG15/src/CChatScreen.cpp b/plugins/MirandaG15/src/CChatScreen.cpp index 51c6a85b92..0f374d3aa4 100644 --- a/plugins/MirandaG15/src/CChatScreen.cpp +++ b/plugins/MirandaG15/src/CChatScreen.cpp @@ -180,7 +180,6 @@ void CChatScreen::UpdateLabels() {
tstring strNickname = CAppletManager::GetContactDisplayname(m_hContact);
char *szProto = GetContactProto(m_hContact);
- char *szStatus = NULL;
m_iStatus = ID_STATUS_OFFLINE;
tstring strProto = _T("");
@@ -191,7 +190,7 @@ void CChatScreen::UpdateLabels() m_iStatus = db_get_w(m_hContact,szProto,"Status",ID_STATUS_OFFLINE);
}
- szStatus = (char *) CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, m_iStatus, 0);
+ TCHAR *szStatus = pcli->pfnGetStatusModeDescription(m_iStatus, 0);
if(szStatus != NULL)
strStatus = toTstring(szStatus);
|