[MPlayer-cvslog] r35893 - trunk/gui/ui/actions.c

ib subversion at mplayerhq.hu
Sat Jan 26 01:07:38 CET 2013


Author: ib
Date: Sat Jan 26 01:07:38 2013
New Revision: 35893

Log:
Cosmetic: Rename variables.

They are now self-explanatory.

Modified:
   trunk/gui/ui/actions.c

Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c	Sat Jan 26 01:00:05 2013	(r35892)
+++ trunk/gui/ui/actions.c	Sat Jan 26 01:07:38 2013	(r35893)
@@ -588,10 +588,10 @@ void uiAbsSeek(float percent)
  */
 void uiChangeSkin(char *name)
 {
-    int prev, bprev;
+    int was_menu, was_playbar;
 
-    prev  = guiApp.menuIsPresent;
-    bprev = guiApp.playbarIsPresent;
+    was_menu    = guiApp.menuIsPresent;
+    was_playbar = guiApp.playbarIsPresent;
 
     mainVisible = False;
 
@@ -604,7 +604,7 @@ void uiChangeSkin(char *name)
 
     /* reload menu window */
 
-    if (prev && guiApp.menuIsPresent) {
+    if (was_menu && guiApp.menuIsPresent) {
         free(menuDrawBuffer);
         menuDrawBuffer = calloc(1, guiApp.menu.Bitmap.ImageSize);
 
@@ -638,7 +638,7 @@ void uiChangeSkin(char *name)
 
     /* reload playbar */
 
-    if (bprev)
+    if (was_playbar)
         uiPlaybarDone();
 
     uiPlaybarInit();


More information about the MPlayer-cvslog mailing list