summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clui.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-04-08 04:55:16 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-04-08 04:55:16 +0000
commit4fd0af75812a1dc4a275da315a173d93cb0b8e64 (patch)
tree1bddc37a83ad472235bb30c199c0fdd42e2893c1 /plugins/Clist_modern/src/modern_clui.cpp
parentc874769aaa91b110d87eb7b8d267680eb2008bbf (diff)
MAX_REGS replaced on SIZEOF
small cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@4382 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clui.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp
index 3ab3bafa9e..0f0b1bef4b 100644
--- a/plugins/Clist_modern/src/modern_clui.cpp
+++ b/plugins/Clist_modern/src/modern_clui.cpp
@@ -427,7 +427,7 @@ HICON GetMainStatusOverlay(int STATUS)
void UnloadAvatarOverlayIcon()
{
- for (int i=0 ; i < MAX_REGS(g_pAvatarOverlayIcons); i++) {
+ for (int i = 0; i < SIZEOF(g_pAvatarOverlayIcons); i++) {
g_pAvatarOverlayIcons[i].listID = -1;
g_pStatusOverlayIcons[i].listID = -1;
}