summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/crypt_icons.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-01 16:54:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-01 16:54:11 +0000
commit464d30983285ab816de7e2ac3d72fe5c4a9544e6 (patch)
tree49bf1d66723c6b3ec49a6100acca54db2f22b1cc /plugins/SecureIM/src/crypt_icons.cpp
parent9e883e4ab12c0e6c9f91049ac82f43387993ddaa (diff)
fix for SecureIM icons processing
git-svn-id: http://svn.miranda-ng.org/main/trunk@2596 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/crypt_icons.cpp')
-rw-r--r--plugins/SecureIM/src/crypt_icons.cpp2
1 files changed, 1 insertions, 1 deletions
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);