changeset 32923:b6a919e84760

Cosmetic: Rename constant for number of events from evBoxs to EVENTS.
author ib
date Thu, 03 Mar 2011 12:16:09 +0000
parents 4546e629ae70
children 33b360b5adcf
files gui/app.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/app.c	Thu Mar 03 11:44:39 2011 +0000
+++ b/gui/app.c	Thu Mar 03 12:16:09 2011 +0000
@@ -77,7 +77,7 @@
     { evSetAspect,         "evSetAspect"         }
 };
 
-static const int evBoxs = sizeof(evNames) / sizeof(evName);
+static const int EVENTS = sizeof(evNames) / sizeof(evName);
 
 static void appClearItem(wItem *item)
 {
@@ -150,7 +150,7 @@
 {
     int i;
 
-    for (i = 0; i < evBoxs; i++)
+    for (i = 0; i < EVENTS; i++)
         if (!strcmp(evNames[i].name, str))
             return evNames[i].message;