[MPlayer-cvslog] r33011 - trunk/gui/skin/skin.c

ib subversion at mplayerhq.hu
Thu Mar 3 13:21:18 CET 2011


Author: ib
Date: Thu Mar  3 13:21:18 2011
New Revision: 33011

Log:
Make ITEMS a const int (it was a symbolic constant).

Modified:
   trunk/gui/skin/skin.c

Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c	Thu Mar  3 13:16:09 2011	(r33010)
+++ trunk/gui/skin/skin.c	Thu Mar  3 13:21:18 2011	(r33011)
@@ -809,7 +809,7 @@ static _item skinItem[] = {
     { "menu",       cmd_menu       }
 };
 
-#define ITEMS (int)(sizeof(skinItem) / sizeof(_item))
+static const int ITEMS = sizeof(skinItem) / sizeof(_item);
 
 char *strswap(char *in, char what, char whereof)
 {


More information about the MPlayer-cvslog mailing list