summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-16 16:39:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-16 16:39:17 +0000
commit478edfb61968b7b54638d8dbef11333bf22ff030 (patch)
treefd0824e8fb5fd7952759241a05a3b8b7b24d8c95 /protocols
parent7eb813e28f5b94886487cfd6e3c916eeb96c8dee (diff)
fix for the protocol icon
git-svn-id: http://svn.miranda-ng.org/main/trunk@1582 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/MRA/MraProto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/MraProto.cpp b/protocols/MRA/MraProto.cpp
index 08a4092e57..d8ffd29ef8 100644
--- a/protocols/MRA/MraProto.cpp
+++ b/protocols/MRA/MraProto.cpp
@@ -417,7 +417,7 @@ HICON CMraProto::GetIcon(int iconIndex)
{
UINT id;
- switch ( iconIndex ) {
+ switch (iconIndex & 0xFFFF) {
case PLI_PROTOCOL: id = IDI_MRA; break; // IDI_TM is the main icon for the protocol
default: return NULL;
}