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

ib subversion at mplayerhq.hu
Thu Mar 31 10:56:53 CEST 2011


Author: ib
Date: Thu Mar 31 10:56:52 2011
New Revision: 33162

Log:
Cosmetic: Rename command item.

Match with the common parlance.

Modified:
   trunk/gui/skin/skin.c

Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c	Wed Mar 30 16:54:55 2011	(r33161)
+++ trunk/gui/skin/skin.c	Thu Mar 31 10:56:52 2011	(r33162)
@@ -870,7 +870,7 @@ int skinRead(char *dname)
     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 @@ int skinRead(char *dname)
         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;
     }


More information about the MPlayer-cvslog mailing list