From f508be9159ff1612f1502a4ed2c6b5a585757cbf Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 18 Apr 2013 19:13:18 +0000 Subject: - removed obsolete code - added %A variable to show the user's Account name git-svn-id: http://svn.miranda-ng.org/main/trunk@4470 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SeenPlugin/src/missed.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SeenPlugin/src/missed.cpp') diff --git a/plugins/SeenPlugin/src/missed.cpp b/plugins/SeenPlugin/src/missed.cpp index 4b7d4bcf44..2ff6abf00c 100644 --- a/plugins/SeenPlugin/src/missed.cpp +++ b/plugins/SeenPlugin/src/missed.cpp @@ -107,7 +107,7 @@ int ShowMissed(void) TCHAR sztemp[1024], szcount[7]; for (int loop=0; loop < mcs.count; loop++) { - _tcscat(sztemp, (TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, mcs.wpcontact[loop], GCDNF_TCHAR)); + _tcsncat(sztemp, (TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, mcs.wpcontact[loop], GCDNF_TCHAR), SIZEOF(sztemp)); if ( db_get_b(NULL, S_MOD, "MissedOnes_Count", 0)) { wsprintf(szcount, _T(" [%i]"), mcs.times[loop]); _tcscat(sztemp, szcount); @@ -159,7 +159,7 @@ int Test(WPARAM wparam,LPARAM lparam) return 0; } -int ModeChange_mo(WPARAM wparam,LPARAM lparam) +int ModeChange_mo(WPARAM,LPARAM lparam) { ACKDATA *ack = (ACKDATA *)lparam; if (ack->type != ACKTYPE_STATUS || ack->result != ACKRESULT_SUCCESS || ack->hContact != NULL) -- cgit v1.2.3