summaryrefslogtreecommitdiff
path: root/plugins/Rate/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Rate/src/main.cpp')
-rw-r--r--plugins/Rate/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Rate/src/main.cpp b/plugins/Rate/src/main.cpp
index 17e4237e56..b7f234572b 100644
--- a/plugins/Rate/src/main.cpp
+++ b/plugins/Rate/src/main.cpp
@@ -124,7 +124,7 @@ extern "C" int __declspec(dllexport) Load(void)
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, onContactSettingChanged);
// IcoLib support
- Icon_Register(g_hInst, LPGEN("Contact rate"), iconList, SIZEOF(iconList));
+ Icon_Register(g_hInst, LPGEN("Contact rate"), iconList, _countof(iconList));
// Extra icon support
hExtraIcon = ExtraIcon_Register("contact_rate", LPGEN("Contact rate"), "rate_high");