From c0245a95c2bbe2e83a5514e6652ce483a70122ee Mon Sep 17 00:00:00 2001 From: "Sergey (Elzor) Bolhovskoy" Date: Thu, 8 Apr 2010 19:46:22 +0600 Subject: Add more options for ICQ protocol, auto remove useless messages from contact --- utilities.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utilities.cpp') diff --git a/utilities.cpp b/utilities.cpp index d935cae..4d3b3cf 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -146,7 +146,7 @@ tstring variables_parse(tstring const &tstrFormat, HANDLE hContact){ // case-insensitive _tcsstr //by nullbie as i remember... -#define NEWTSTR_MALLOC(A) (A==NULL)?NULL:_tcscpy((TCHAR*)malloc(sizeof(TCHAR)*(_tcslen(A)+1)),A) +#define NEWTSTR_MALLOC(A) (A==NULL)?NULL:_tcscpy((TCHAR*)mir_alloc(sizeof(TCHAR)*(_tcslen(A)+1)),A) const int Stricmp(const TCHAR *str, const TCHAR *substr) { int i; @@ -163,3 +163,4 @@ const int Stricmp(const TCHAR *str, const TCHAR *substr) return i; } + -- cgit v1.2.3