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/LotusNotify/src/LotusNotify.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'plugins/LotusNotify/src') diff --git a/plugins/LotusNotify/src/LotusNotify.cpp b/plugins/LotusNotify/src/LotusNotify.cpp index 9c5d016cde..90a1d3fe59 100644 --- a/plugins/LotusNotify/src/LotusNotify.cpp +++ b/plugins/LotusNotify/src/LotusNotify.cpp @@ -1504,12 +1504,13 @@ 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); + 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