From 2eb26dc2acbcd30ae9f3673dae89ba647f594564 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 1 Feb 2017 17:52:22 +0300 Subject: PLI_ONLINE & PLI_OFFLINE - unused constants removed --- plugins/ConnectionNotify/src/ConnectionNotify.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'plugins/ConnectionNotify/src') diff --git a/plugins/ConnectionNotify/src/ConnectionNotify.cpp b/plugins/ConnectionNotify/src/ConnectionNotify.cpp index 0ec95a3328..9bec312628 100644 --- a/plugins/ConnectionNotify/src/ConnectionNotify.cpp +++ b/plugins/ConnectionNotify/src/ConnectionNotify.cpp @@ -621,10 +621,11 @@ INT_PTR TMLoadIcon(WPARAM wParam, LPARAM) UINT id; switch (wParam & 0xFFFF) { - case PLI_ONLINE: - case PLI_PROTOCOL: id = IDI_ICON1; break; // IDI_TM is the main icon for the protocol - case PLI_OFFLINE: id = IDI_ICON2; break; - default: return 0; + case PLI_PROTOCOL: + id = IDI_ICON1; + break; // IDI_TM is the main icon for the protocol + default: + return 0; } return (INT_PTR)LoadImage(hInst, MAKEINTRESOURCE(id), IMAGE_ICON, GetSystemMetrics(wParam&PLIF_SMALL ? SM_CXSMICON : SM_CXICON), GetSystemMetrics(wParam&PLIF_SMALL ? SM_CYSMICON : SM_CYICON), 0); } -- cgit v1.2.3