changeset 32924:33b360b5adcf

Make ITEMS a const int (it was a symbolic constant).
author ib
date Thu, 03 Mar 2011 12:21:18 +0000
parents b6a919e84760
children 992a4b9d7624
files gui/skin/skin.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/skin/skin.c	Thu Mar 03 12:16:09 2011 +0000
+++ b/gui/skin/skin.c	Thu Mar 03 12:21:18 2011 +0000
@@ -809,7 +809,7 @@
     { "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)
 {