summaryrefslogtreecommitdiff
path: root/plugins/LotusNotify
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-01 17:52:22 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-01 17:52:22 +0300
commit2eb26dc2acbcd30ae9f3673dae89ba647f594564 (patch)
tree3e79dccb35ce2a778f8e889b14858cddd54d851c /plugins/LotusNotify
parenta394c200ee2664b177d376259ab26b78bb854c19 (diff)
PLI_ONLINE & PLI_OFFLINE - unused constants removed
Diffstat (limited to 'plugins/LotusNotify')
-rw-r--r--plugins/LotusNotify/src/LotusNotify.cpp11
1 files changed, 6 insertions, 5 deletions
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);
}