From 78ef195a7d0108236d73884013e848a01f603ad2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 15 Jul 2014 19:24:49 +0000 Subject: fix for the GIF avatars displaying git-svn-id: http://svn.miranda-ng.org/main/trunk@9816 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/protos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"))) -- cgit v1.2.3