diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 12:33:13 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 12:33:13 +0000 |
commit | 159b565b390687258ee65a3b66596e118752063c (patch) | |
tree | 91105378fcb9e030ba4a7f6572c4ea307cb8c8d6 /plugins/HistoryStats/src | |
parent | 7f4d529b59698d7eb2403bd1f9088a5aa7fa9080 (diff) |
replace strcmp to mir_strcmp
git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src')
-rw-r--r-- | plugins/HistoryStats/src/_strfunc.h | 2 | ||||
-rw-r--r-- | plugins/HistoryStats/src/mirandacontact.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryStats/src/_strfunc.h b/plugins/HistoryStats/src/_strfunc.h index 0726c50698..dfaf172c79 100644 --- a/plugins/HistoryStats/src/_strfunc.h +++ b/plugins/HistoryStats/src/_strfunc.h @@ -13,7 +13,7 @@ namespace ext {
public:
static const char* chr(const char* string, char c) { return strchr(string, c); }
- static int cmp(const char* string1, const char* string2) { return strcmp(string1, string2); }
+ static int cmp(const char* string1, const char* string2) { return mir_strcmp(string1, string2); }
static int icmp(const char* string1, const char* string2) { return _stricmp(string1, string2); }
static int coll(const char* string1, const char* string2) { return strcoll(string1, string2); }
static int icoll(const char* string1, const char* string2) { return _stricoll(string1, string2); }
diff --git a/plugins/HistoryStats/src/mirandacontact.cpp b/plugins/HistoryStats/src/mirandacontact.cpp index f9e9a2d02e..35bce22df6 100644 --- a/plugins/HistoryStats/src/mirandacontact.cpp +++ b/plugins/HistoryStats/src/mirandacontact.cpp @@ -41,7 +41,7 @@ void MirandaContact::fetchSlot(int i) void MirandaContact::stripMetaID(DBEVENTINFO& dbe)
{
- if (strcmp(dbe.szModule,META_PROTO)==0) {
+ if (mir_strcmp(dbe.szModule,META_PROTO)==0) {
char* pTextBegin = reinterpret_cast<char*>(dbe.pBlob);
if (dbe.cbBlob >= 6 && !pTextBegin[dbe.cbBlob - 1]) {
|