summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_core/protos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/protos.cpp b/src/mir_core/protos.cpp
index 1d98222708..ce752450b5 100644
--- a/src/mir_core/protos.cpp
+++ b/src/mir_core/protos.cpp
@@ -201,7 +201,7 @@ MIR_CORE_DLL(int) ProtoGetAvatarFormat(const TCHAR *ptszFileName)
if (!_tcsicmp(ptszExt, _T(".ico")))
return PA_FORMAT_ICON;
- if (!_tcsicmp(ptszExt, _T(".bmp")) || _tcsicmp(ptszExt, _T(".rle")))
+ if (!_tcsicmp(ptszExt, _T(".bmp")) || !_tcsicmp(ptszExt, _T(".rle")))
return PA_FORMAT_BMP;
if (!_tcsicmp(ptszExt, _T(".gif")))