From df79bab262f17eadfe072bdb1ac8f0075694dbe2 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Sun, 7 Feb 2021 19:16:53 +0300 Subject: Expressions with opposite meanings should be simplified --- protocols/SkypeWeb/src/skype_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp index 6922e85bd6..9156c7dbd8 100644 --- a/protocols/SkypeWeb/src/skype_utils.cpp +++ b/protocols/SkypeWeb/src/skype_utils.cpp @@ -594,7 +594,7 @@ INT_PTR CSkypeProto::ParseSkypeUriService(WPARAM, LPARAM lParam) *(szSecondParam++) = 0; // no command or message command - if (!szCommand || (szCommand && !mir_wstrcmpi(szCommand, L"chat"))) { + if (!szCommand || !mir_wstrcmpi(szCommand, L"chat")) { if (szSecondParam) { wchar_t *szChatId = wcsstr(szSecondParam, L"id="); if (szChatId) { -- cgit v1.2.3