summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
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;
}