# HG changeset patch # User ib # Date 1353844507 0 # Node ID 6e07bbde3e46dfeea893f9c79c5fd643fe95b0af # Parent 02006c5b3b3007649bf3534a87083a8e6857556b Choose better variable name for current playlist item. diff -r 02006c5b3b30 -r 6e07bbde3e46 gui/ui/main.c --- 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 )