diff options
author | dartraiden <wowemuh@gmail.com> | 2021-02-07 19:16:53 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2021-02-07 19:16:53 +0300 |
commit | df79bab262f17eadfe072bdb1ac8f0075694dbe2 (patch) | |
tree | 13e7460b15b3d66eb197d053d1c8a15c2545c3ad /protocols/SkypeWeb/src | |
parent | 98298618217fba9eb2afc819b5383023cb68dcb8 (diff) |
Expressions with opposite meanings should be simplified
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r-- | protocols/SkypeWeb/src/skype_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |