summaryrefslogtreecommitdiff
path: root/plugins/Alarms/src/icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Alarms/src/icons.cpp')
-rw-r--r--plugins/Alarms/src/icons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Alarms/src/icons.cpp b/plugins/Alarms/src/icons.cpp
index 8d2bdd51c3..3848213ad1 100644
--- a/plugins/Alarms/src/icons.cpp
+++ b/plugins/Alarms/src/icons.cpp
@@ -26,7 +26,7 @@ int ReloadIcons(WPARAM, LPARAM)
void InitIcons()
{
- Icon_Register(hInst, "Alarms", iconList, SIZEOF(iconList));
+ Icon_Register(hInst, "Alarms", iconList, _countof(iconList));
if ( !ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
hIconMenuShowHide = IcoLib_GetIcon("alarms_menu_showhide");