From 478edfb61968b7b54638d8dbef11333bf22ff030 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 16 Sep 2012 16:39:17 +0000 Subject: fix for the protocol icon git-svn-id: http://svn.miranda-ng.org/main/trunk@1582 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/MraProto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3