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/SimpleStatusMsg/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/SimpleStatusMsg/src')
| -rw-r--r-- | plugins/SimpleStatusMsg/src/main.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SimpleStatusMsg/src/main.cpp b/plugins/SimpleStatusMsg/src/main.cpp index 3aa567406b..9162be6f97 100644 --- a/plugins/SimpleStatusMsg/src/main.cpp +++ b/plugins/SimpleStatusMsg/src/main.cpp @@ -974,7 +974,7 @@ INT_PTR ShowStatusMessageDialog(WPARAM wParam, LPARAM lParam)  		if (!accounts->pa[i]->bIsVisible)
  			continue;
 -		if (!strcmp(accounts->pa[i]->szModuleName, (char *)lParam))
 +		if (!mir_strcmp(accounts->pa[i]->szModuleName, (char *)lParam))
  		{
  			box_data->m_szProto = accounts->pa[i]->szModuleName;
  			box_data->m_iStatusModes = CallProtoService(accounts->pa[i]->szModuleName, PS_GETCAPS, PFLAGNUM_2, 0)&~CallProtoService(accounts->pa[i]->szModuleName, PS_GETCAPS, PFLAGNUM_5, 0);
 @@ -1011,7 +1011,7 @@ static int ChangeStatusMessage(WPARAM wParam, LPARAM lParam)  	// TODO this could be done better
  	BOOL bOnStartup = FALSE, bGlobalStartupStatus = TRUE;
 -	if (szProto && !strcmp(szProto, "SimpleStatusMsgGlobalStartupStatus")) {
 +	if (szProto && !mir_strcmp(szProto, "SimpleStatusMsgGlobalStartupStatus")) {
  		szProto = NULL;
  		bOnStartup = TRUE;
  	}
 @@ -1743,7 +1743,7 @@ static int OnAccListChanged(WPARAM wParam, LPARAM lParam)  		if (!IsAccountEnabled(accounts->pa[i]))
  			continue;
 -		if (!strcmp(accounts->pa[i]->szProtoName, "ICQ"))
 +		if (!mir_strcmp(accounts->pa[i]->szProtoName, "ICQ"))
  			HookProtoEvent(accounts->pa[i]->szModuleName, ME_ICQ_STATUSMSGREQ, OnICQStatusMsgRequest);
  		accounts->statusFlags |= (CallProtoService(accounts->pa[i]->szModuleName, PS_GETCAPS, PFLAGNUM_2, 0) & ~CallProtoService(accounts->pa[i]->szModuleName, PS_GETCAPS, PFLAGNUM_5, 0));
  | 
