[MPlayer-cvslog] r35471 - trunk/gui/ui/main.c

ib subversion at mplayerhq.hu
Sun Nov 25 12:55:07 CET 2012


Author: ib
Date: Sun Nov 25 12:55:07 2012
New Revision: 35471

Log:
Choose better variable name for current playlist item.

Modified:
   trunk/gui/ui/main.c

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Sun Nov 25 12:51:35 2012	(r35470)
+++ trunk/gui/ui/main.c	Sun Nov 25 12:55:07 2012	(r35471)
@@ -210,8 +210,8 @@ play:
 
 	if ( listMgr( PLAYLIST_ITEM_GET_CURR,0 ) &&( guiInfo.StreamType == STREAMTYPE_FILE || guiInfo.StreamType == STREAMTYPE_STREAM ) )
 	 {
-	  plItem * next = listMgr( PLAYLIST_ITEM_GET_CURR,0 );
-	  uiSetFileName( next->path,next->name,SAME_STREAMTYPE );
+	  plItem * curr = listMgr( PLAYLIST_ITEM_GET_CURR,0 );
+	  uiSetFileName( curr->path,curr->name,SAME_STREAMTYPE );
 	 }
 
         switch ( guiInfo.StreamType )


More information about the MPlayer-cvslog mailing list