Mercurial > mplayer.hg
diff gui/ui/main.c @ 35377:6e07bbde3e46
Choose better variable name for current playlist item.
author | ib |
---|---|
date | Sun, 25 Nov 2012 11:55:07 +0000 |
parents | 92cafcf6f6b2 |
children | 9c7bba653bfb |
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 )