From 464d30983285ab816de7e2ac3d72fe5c4a9544e6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 Dec 2012 16:54:11 +0000 Subject: fix for SecureIM icons processing git-svn-id: http://svn.miranda-ng.org/main/trunk@2596 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SecureIM/src/crypt_icons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SecureIM/src') diff --git a/plugins/SecureIM/src/crypt_icons.cpp b/plugins/SecureIM/src/crypt_icons.cpp index 791fd1fd24..c155c0525a 100644 --- a/plugins/SecureIM/src/crypt_icons.cpp +++ b/plugins/SecureIM/src/crypt_icons.cpp @@ -47,7 +47,7 @@ HICON mode2icon(int mode, int type) HANDLE mode2clicon(int mode, int type) { - if (!bASI) + if (!bASI && !(mode & SECURED)) return INVALID_HANDLE_VALUE; ICON_CACHE &p = getCacheItem(mode, type); -- cgit v1.2.3