changeset 35377:6e07bbde3e46

Choose better variable name for current playlist item.
author ib
date Sun, 25 Nov 2012 11:55:07 +0000
parents 02006c5b3b30
children e900dc6b8d66
files gui/ui/main.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/main.c	Sun Nov 25 11:51:35 2012 +0000
+++ b/gui/ui/main.c	Sun Nov 25 11:55:07 2012 +0000
@@ -210,8 +210,8 @@
 
 	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 )