diff options
author | George Hazan <george.hazan@gmail.com> | 2013-02-21 13:03:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-02-21 13:03:09 +0000 |
commit | 1c44f2df0725c7673b0522121461337270cd47c6 (patch) | |
tree | 73979ab4ed3fcdf367ccce10ba1811def67d69b6 /protocols/Xfire | |
parent | 1f59d862f624b14135eaf16899d3bc617fa3ff1e (diff) |
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
Diffstat (limited to 'protocols/Xfire')
-rw-r--r-- | protocols/Xfire/src/all_statusmsg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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;
|