diff options
author | George Hazan <george.hazan@gmail.com> | 2014-11-30 20:25:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-11-30 20:25:58 +0000 |
commit | ce2d4f19e3f810b282eb7d47d470d426ff459e1f (patch) | |
tree | a49f3e9dd42399756b2ce33a3d91caec535b77ab /plugins/Clist_modern/src/hdr | |
parent | 1bb83288c063ce1864e46f6f675751c8c631b530 (diff) |
mir_strcmp, mir_strcmpi, mir_wstrcmp, mir_wstrcmpi
git-svn-id: http://svn.miranda-ng.org/main/trunk@11179 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/hdr')
-rw-r--r-- | plugins/Clist_modern/src/hdr/modern_commonheaders.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/plugins/Clist_modern/src/hdr/modern_commonheaders.h b/plugins/Clist_modern/src/hdr/modern_commonheaders.h index 7447002bbd..8a31646f0a 100644 --- a/plugins/Clist_modern/src/hdr/modern_commonheaders.h +++ b/plugins/Clist_modern/src/hdr/modern_commonheaders.h @@ -143,18 +143,9 @@ extern TCHAR SkinsFolder[MAX_PATH]; char* __cdecl strstri( char *a, const char *b);
BOOL __cdecl mir_bool_strcmpi(const char *a, const char *b);
-int __cdecl mir_strcmp (const char *a, const char *b);
-int __cdecl mir_strcmpi(const char *a, const char *b);
-int __cdecl mir_tstrcmpi(const TCHAR *a, const TCHAR *b);
BOOL __cdecl mir_bool_tstrcmpi(const TCHAR *a, const TCHAR *b);
DWORD exceptFunction(LPEXCEPTION_POINTERS EP);
-#ifndef MYCMP
-#define MYCMP 1
-#define strcmp(a,b) mir_strcmp(a,b)
-#define strlen(a) mir_strlen(a)
-#endif
-
// Register of plugin's user
//
// wParam = (WPARAM)szSetting - string that describes a user
@@ -356,7 +347,7 @@ public: if ( this->_dwKey != second._dwKey )
return ( this->_dwKey < second._dwKey );
else
- return ( strcmp( this->_strKey, second._strKey ) < 0 ); // already maked upper so in any case - will be case insensitive
+ return ( mir_strcmp( this->_strKey, second._strKey ) < 0 ); // already maked upper so in any case - will be case insensitive
}
struct HashKeyLess
|