summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdlgutils.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-12-09 08:31:44 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-12-09 08:31:44 +0000
commitd9b26ea2f38f0ac9554f999bc9d9806d4762d3d7 (patch)
treed98f59a89cf1a463edcf28472253b417fbb7a150 /plugins/TabSRMM/src/msgdlgutils.cpp
parent36472b00443e23acf28b0dd26ddc2c2e6216d909 (diff)
code cleanup (by Mataes)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11296 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdlgutils.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp
index a41827ce05..9712a49f0c 100644
--- a/plugins/TabSRMM/src/msgdlgutils.cpp
+++ b/plugins/TabSRMM/src/msgdlgutils.cpp
@@ -44,12 +44,11 @@ static int g_status_events[] = {
};
static int g_status_events_size = 0;
-#define MAX_REGS(_A_) ( sizeof(_A_) / sizeof(_A_[0]))
bool TSAPI IsStatusEvent(int eventType)
{
if (g_status_events_size == 0)
- g_status_events_size = MAX_REGS(g_status_events);
+ g_status_events_size = SIZEOF(g_status_events);
for (int i = 0; i < g_status_events_size; i++) {
if (eventType == g_status_events[i])