changeset 33075:c7cfa1a653c8

Cosmetic: Rename command item. Match with the common parlance.
author ib
date Thu, 31 Mar 2011 08:56:52 +0000
parents 1241d9d7d551
children 27999e9c1b3f
files gui/skin/skin.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/skin/skin.c	Wed Mar 30 14:54:55 2011 +0000
+++ b/gui/skin/skin.c	Thu Mar 31 08:56:52 2011 +0000
@@ -870,7 +870,7 @@
     char *fn;
     FILE *skinFile;
     unsigned char tmp[256];
-    unsigned char command[32];
+    unsigned char item[32];
     unsigned char param[256];
     unsigned int i;
 
@@ -902,12 +902,12 @@
         if (!*tmp)
             continue;
 
-        cutItem(tmp, command, '=', 0);
+        cutItem(tmp, item, '=', 0);
         cutItem(tmp, param, '=', 1);
-        strlower(command);
+        strlower(item);
 
         for (i = 0; i < FF_ARRAY_ELEMS(skinItem); i++)
-            if (!strcmp(command, skinItem[i].name))
+            if (!strcmp(item, skinItem[i].name))
                 if (skinItem[i].func(param) != 0)
                     return -2;
     }