diff options
Diffstat (limited to 'plugins/SecureIM/src')
| -rw-r--r-- | plugins/SecureIM/src/options.cpp | 4 | ||||
| -rw-r--r-- | plugins/SecureIM/src/svcs_clist.cpp | 2 | ||||
| -rw-r--r-- | plugins/SecureIM/src/svcs_srmm.cpp | 2 | 
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SecureIM/src/options.cpp b/plugins/SecureIM/src/options.cpp index 9db60844c2..61e09f5ff2 100644 --- a/plugins/SecureIM/src/options.cpp +++ b/plugins/SecureIM/src/options.cpp @@ -1495,7 +1495,7 @@ int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)  				s = (dbv1.type == DBVT_ASCIIZ);
  				d = (dbv2.type == DBVT_ASCIIZ);
  				if (s && d) {
 -					s = strcmp(dbv1.pszVal, dbv2.pszVal);
 +					s = mir_strcmp(dbv1.pszVal, dbv2.pszVal);
  					d = 0;
  				}
  				db_free(&dbv1);
 @@ -1512,7 +1512,7 @@ int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)  			if(!db_get_s(p2->hContact, MODULENAME, "gpg", &dbv2)) {
  				d = (dbv2.type == DBVT_ASCIIZ);
  				if (s && d) {
 -					s = strcmp(dbv1.pszVal, dbv2.pszVal);
 +					s = mir_strcmp(dbv1.pszVal, dbv2.pszVal);
  					d = 0;
  				}
  				db_free(&dbv1);
 diff --git a/plugins/SecureIM/src/svcs_clist.cpp b/plugins/SecureIM/src/svcs_clist.cpp index 0b677659c0..0d5dd38d57 100644 --- a/plugins/SecureIM/src/svcs_clist.cpp +++ b/plugins/SecureIM/src/svcs_clist.cpp @@ -3,7 +3,7 @@  int __cdecl onContactSettingChanged(WPARAM hContact, LPARAM lParam)
  {
  	DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING*)lParam;
 -	if (!hContact || strcmp(cws->szSetting, "Status")) return 0;
 +	if (!hContact || mir_strcmp(cws->szSetting, "Status")) return 0;
  	pUinKey ptr = getUinKey(hContact);
  	int stat = getContactStatus(hContact);
 diff --git a/plugins/SecureIM/src/svcs_srmm.cpp b/plugins/SecureIM/src/svcs_srmm.cpp index 9d021aae42..e2583947d2 100644 --- a/plugins/SecureIM/src/svcs_srmm.cpp +++ b/plugins/SecureIM/src/svcs_srmm.cpp @@ -15,7 +15,7 @@ int __cdecl onIconPressed(WPARAM hContact, LPARAM lParam)  		hContact = db_mc_getMostOnline(hContact); // возьмем тот, через который пойдет сообщение
  	StatusIconClickData *sicd = (StatusIconClickData *)lParam;
 -	if (strcmp(sicd->szModule, MODULENAME) != 0 || !isSecureProtocol(hContact))
 +	if (mir_strcmp(sicd->szModule, MODULENAME) != 0 || !isSecureProtocol(hContact))
  		return 0; // not our event
  	if (!isContactPGP(hContact) && !isContactGPG(hContact) && !isChatRoom(hContact)) {
  | 
