From 1c44f2df0725c7673b0522121461337270cd47c6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 21 Feb 2013 13:03:09 +0000 Subject: service MS_VARS_FREEMEMORY replaced with the direct call of mir_free git-svn-id: http://svn.miranda-ng.org/main/trunk@3669 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/all_statusmsg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Xfire') diff --git a/protocols/Xfire/src/all_statusmsg.cpp b/protocols/Xfire/src/all_statusmsg.cpp index 75a8f0a165..7063507879 100644 --- a/protocols/Xfire/src/all_statusmsg.cpp +++ b/protocols/Xfire/src/all_statusmsg.cpp @@ -65,7 +65,7 @@ BOOL BackupStatusMsg() { char ttemp[128]=""; sprintf_s(ttemp,128,"%s%s",temp[i]->szModuleName,PS_SETAWAYMSG); - + //xfire wird geskipped, offline prots und invs prots auch, und locked status prots auch if(!temp[i]->bIsEnabled||statusid==ID_STATUS_INVISIBLE||statusid==ID_STATUS_OFFLINE||!lstrcmpiA( temp[i]->szModuleName, protocolname )||!ServiceExists(ttemp)||DBGetContactSettingByte(NULL,temp[i]->szModuleName,"LockMainStatus",0)==1) { @@ -80,7 +80,7 @@ BOOL BackupStatusMsg() { int dummystatusid=statusid; - if(statustype) + if(statustype) { if(statusid!=0) { @@ -335,7 +335,7 @@ BOOL SetGameStatusMsg() } if (ServiceExists(MS_VARS_FORMATSTRING)) - CallService(MS_VARS_FREEMEMORY, (WPARAM)statusmsg, 0); + mir_free(statusmsg); else if(statusmsg) delete[] statusmsg; -- cgit v1.2.3