summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin/src/missed.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-04-18 19:13:18 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-04-18 19:13:18 +0000
commitf508be9159ff1612f1502a4ed2c6b5a585757cbf (patch)
treedc6aaac9be36d46c4aa059804c336d2fdc130898 /plugins/SeenPlugin/src/missed.cpp
parent88b083394b91794dd060c0c568185ffcd497fa6b (diff)
- 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
Diffstat (limited to 'plugins/SeenPlugin/src/missed.cpp')
-rw-r--r--plugins/SeenPlugin/src/missed.cpp4
1 files changed, 2 insertions, 2 deletions
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)