summaryrefslogtreecommitdiff
path: root/src
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 /src
parenta394c200ee2664b177d376259ab26b78bb854c19 (diff)
PLI_ONLINE & PLI_OFFLINE - unused constants removed
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/meta_services.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mir_app/src/meta_services.cpp b/src/mir_app/src/meta_services.cpp
index 37b23f355c..d3f1827e9f 100644
--- a/src/mir_app/src/meta_services.cpp
+++ b/src/mir_app/src/meta_services.cpp
@@ -94,8 +94,7 @@ INT_PTR Meta_GetName(WPARAM wParam, LPARAM lParam)
/** Loads the icon corresponding to the status
* Called by the CList when the status changes.
-* @param wParam : one of the following values : \n
-<tt>PLI_PROTOCOL | PLI_ONLINE | PLI_OFFLINE</tt>
+* @param wParam : icon type
* @return an \c HICON in which the icon has been loaded.
*/
@@ -106,12 +105,7 @@ INT_PTR Meta_LoadIcon(WPARAM wParam, LPARAM)
case PLI_PROTOCOL:
id = IDI_MCMENU;
break;
- case PLI_ONLINE:
- id = IDI_MCMENU;
- break;
- case PLI_OFFLINE:
- id = IDI_MCMENU;
- break;
+
default:
return 0;
}