From fc3091cb598ad8401fb4af2a6e3931141c9895a1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 3 Aug 2013 21:56:17 +0000 Subject: - old junk removed from tabSRMM & replaced with the modern calls - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5572 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/chat/services.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src/chat/services.cpp') diff --git a/plugins/TabSRMM/src/chat/services.cpp b/plugins/TabSRMM/src/chat/services.cpp index 398f0616c6..5eba351bc9 100644 --- a/plugins/TabSRMM/src/chat/services.cpp +++ b/plugins/TabSRMM/src/chat/services.cpp @@ -330,7 +330,7 @@ static int DoControl(GCEVENT *gce, WPARAM wp) if (gce->pszText) { si = SM_FindSession(gce->pDest->ptszID, gce->pDest->pszModule); if (si) { - replaceStr(&si->ptszName, gce->ptszText); + replaceStrT(si->ptszName, gce->ptszText); if (si->hWnd) SendMessage(si->hWnd, GC_UPDATETITLE, 0, 0); } @@ -354,7 +354,7 @@ static int DoControl(GCEVENT *gce, WPARAM wp) case GC_EVENT_SETSBTEXT: si = SM_FindSession(gce->pDest->ptszID, gce->pDest->pszModule); if (si) { - replaceStr(&si->ptszStatusbarText, gce->ptszText); + replaceStrT(si->ptszStatusbarText, gce->ptszText); if (si->ptszStatusbarText) db_set_ts(si->hContact, si->pszModule, "StatusBar", si->ptszStatusbarText); else @@ -642,7 +642,7 @@ INT_PTR Service_AddEvent(WPARAM wParam, LPARAM lParam) si = SM_FindSession(gce->pDest->ptszID, gce->pDest->pszModule); if (si) { if (gce->pszText) { - replaceStr(&si->ptszTopic, RemoveFormatting(gce->ptszText)); + replaceStrT(si->ptszTopic, RemoveFormatting(gce->ptszText)); db_set_ts(si->hContact, si->pszModule , "Topic", /*RemoveFormatting*/(si->ptszTopic)); if (M.GetByte("Chat", "TopicOnClist", 1)) db_set_ts(si->hContact, "CList" , "StatusMsg", /*RemoveFormatting*/(si->ptszTopic)); -- cgit v1.2.3