[MPlayer-cvslog] r35888 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Fri Jan 25 22:52:55 CET 2013


Author: ib
Date: Fri Jan 25 22:52:55 2013
New Revision: 35888

Log:
Cosmetic: Rename variable.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Fri Jan 25 17:03:39 2013	(r35887)
+++ trunk/gui/interface.c	Fri Jan 25 22:52:55 2013	(r35888)
@@ -77,7 +77,7 @@ static int initialized;
  */
 void guiInit(void)
 {
-    int r;
+    int ret;
     plItem *playlist;
 
     mp_msg(MSGT_GPLAYER, MSGL_V, "GUI init.\n");
@@ -125,16 +125,16 @@ void guiInit(void)
     if (!skinName)
         skinName = strdup("default");
 
-    r = skinRead(skinName);
+    ret = skinRead(skinName);
 
-    if (r == -1 && strcmp(skinName, "default") != 0) {
+    if (ret == -1 && strcmp(skinName, "default") != 0) {
         mp_msg(MSGT_GPLAYER, MSGL_WARN, MSGTR_SKIN_SKINCFG_SelectedSkinNotFound, skinName);
 
         skinName = strdup("default");
-        r = skinRead(skinName);
+        ret      = skinRead(skinName);
     }
 
-    switch (r) {
+    switch (ret) {
     case -1:
         gmp_msg(MSGT_GPLAYER, MSGL_FATAL, MSGTR_SKIN_SKINCFG_SkinNotFound, skinName);
         mplayer(MPLAYER_EXIT_GUI, EXIT_ERROR, 0);


More information about the MPlayer-cvslog mailing list