summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-15 19:24:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-15 19:24:49 +0000
commit78ef195a7d0108236d73884013e848a01f603ad2 (patch)
tree352a44671e271946bcdbc4b4e856f055795f99a7 /src
parent15bff8a1c1cdfad5c99d6cbb432e77062cd8162c (diff)
fix for the GIF avatars displaying
git-svn-id: http://svn.miranda-ng.org/main/trunk@9816 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-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")))