diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-07 08:29:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-07 08:29:51 +0000 |
commit | 3e102800404c38bc615cc06fd7117f2b4daeb6c5 (patch) | |
tree | a674038efde2f8060769fa6796cd1b28f96139ff /plugins/Clist_modern/modern_commonheaders.cpp | |
parent | 6ba9eb829a0b95bf9e6c6bdc9ed37d1d3947b87b (diff) |
removed mir_free_and_nil for local buffers
git-svn-id: http://svn.miranda-ng.org/main/trunk@809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_commonheaders.cpp')
-rw-r--r-- | plugins/Clist_modern/modern_commonheaders.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/modern_commonheaders.cpp b/plugins/Clist_modern/modern_commonheaders.cpp index c5d9a7408e..03e8f26487 100644 --- a/plugins/Clist_modern/modern_commonheaders.cpp +++ b/plugins/Clist_modern/modern_commonheaders.cpp @@ -33,7 +33,7 @@ int __cdecl mir_strcmpi(const char *a, const char *b) int __cdecl mir_tstrcmpi(const TCHAR *a, const TCHAR *b)
{
if (a == NULL && b == NULL) return 0;
- if (a == NULL || b == NULL) return _tcsicmp(a?a:TEXT(""),b?b:TEXT(""));
+ if (a == NULL || b == NULL) return _tcsicmp(a?a:_T(""),b?b:_T(""));
return _tcsicmp(a,b);
}
BOOL __cdecl mir_bool_strcmpi(const char *a, const char *b)
@@ -46,7 +46,7 @@ BOOL __cdecl mir_bool_strcmpi(const char *a, const char *b) BOOL __cdecl mir_bool_tstrcmpi(const TCHAR *a, const TCHAR *b)
{
if (a == NULL && b == NULL) return 1;
- if (a == NULL || b == NULL) return _tcsicmp(a?a:TEXT(""),b?b:TEXT("")) == 0;
+ if (a == NULL || b == NULL) return _tcsicmp(a?a:_T(""),b?b:_T("")) == 0;
return _tcsicmp(a,b) == 0;
}
@@ -315,7 +315,7 @@ int UnhookAll() hooksrec[i].hHook = NULL;
}
}
- mir_free_and_nill(hooksrec);
+ mir_free_and_nil(hooksrec);
hooksRecAlloced = 0;
return 1;
}
|