[MPlayer-cvslog] r33010 - trunk/gui/app.c

ib subversion at mplayerhq.hu
Thu Mar 3 13:16:10 CET 2011


Author: ib
Date: Thu Mar  3 13:16:09 2011
New Revision: 33010

Log:
Cosmetic: Rename constant for number of events from evBoxs to EVENTS.

Modified:
   trunk/gui/app.c

Modified: trunk/gui/app.c
==============================================================================
--- trunk/gui/app.c	Thu Mar  3 12:44:39 2011	(r33009)
+++ trunk/gui/app.c	Thu Mar  3 13:16:09 2011	(r33010)
@@ -77,7 +77,7 @@ static const evName evNames[] = {
     { 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 appFindMessage(unsigned char *str)
 {
     int i;
 
-    for (i = 0; i < evBoxs; i++)
+    for (i = 0; i < EVENTS; i++)
         if (!strcmp(evNames[i].name, str))
             return evNames[i].message;
 


More information about the MPlayer-cvslog mailing list