diff options
Diffstat (limited to 'protocols/SkypeWeb/src')
| -rw-r--r-- | protocols/SkypeWeb/src/skype_utils.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp index 28413f61b4..0dc12a71b3 100644 --- a/protocols/SkypeWeb/src/skype_utils.cpp +++ b/protocols/SkypeWeb/src/skype_utils.cpp @@ -592,7 +592,7 @@ INT_PTR CSkypeProto::ParseSkypeUriService(WPARAM, LPARAM lParam)  		*(szSecondParam++) = 0;
  	// no command or message command
 -	if (!szCommand || (szCommand && !_tcsicmp(szCommand, _T("chat"))))
 +	if (!szCommand || (szCommand && !mir_tstrcmpi(szCommand, _T("chat"))))
  	{
  		if (szSecondParam)
  		{
 @@ -608,14 +608,14 @@ INT_PTR CSkypeProto::ParseSkypeUriService(WPARAM, LPARAM lParam)  		CallService(MS_MSG_SENDMESSAGE, (WPARAM)hContact, NULL);
  		return 0;
  	}
 -	else if (!_tcsicmp(szCommand, _T("call")))
 +	else if (!mir_tstrcmpi(szCommand, _T("call")))
  	{
  		MCONTACT hContact = AddContact(_T2A(szJid), true);
  		NotifyEventHooks(m_hCallHook, (WPARAM)hContact, (LPARAM)0);
  		return 0;
  	}
 -	else if (!_tcsicmp(szCommand, _T("userinfo"))){ return 0; }
 -	else if (!_tcsicmp(szCommand, _T("add")))
 +	else if (!mir_tstrcmpi(szCommand, _T("userinfo"))){ return 0; }
 +	else if (!mir_tstrcmpi(szCommand, _T("add")))
  	{
  		MCONTACT hContact = FindContact(_T2A(szJid));
  		if (hContact == NULL)
 @@ -633,13 +633,13 @@ INT_PTR CSkypeProto::ParseSkypeUriService(WPARAM, LPARAM lParam)  		}
  		return 0;
  	}
 -	if (!_tcsicmp(szCommand, _T("sendfile")))
 +	if (!mir_tstrcmpi(szCommand, _T("sendfile")))
  	{
  		//CONTACT hContact = AddContact(_T2A(szJid), true);
  		//CallService(MS_FILE_SENDFILE, hContact, NULL);
  		return 1;
  	}
 -	if (!_tcsicmp(szCommand, _T("voicemail")))
 +	if (!mir_tstrcmpi(szCommand, _T("voicemail")))
  	{
  		return 1;
  	}
  | 
