comparison 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
comparison
equal deleted inserted replaced
35376:02006c5b3b30 35377:6e07bbde3e46
208 208
209 if ( ( msg == evPlaySwitchToPause )&&( guiInfo.Playing == GUI_PAUSE ) ) goto NoPause; 209 if ( ( msg == evPlaySwitchToPause )&&( guiInfo.Playing == GUI_PAUSE ) ) goto NoPause;
210 210
211 if ( listMgr( PLAYLIST_ITEM_GET_CURR,0 ) &&( guiInfo.StreamType == STREAMTYPE_FILE || guiInfo.StreamType == STREAMTYPE_STREAM ) ) 211 if ( listMgr( PLAYLIST_ITEM_GET_CURR,0 ) &&( guiInfo.StreamType == STREAMTYPE_FILE || guiInfo.StreamType == STREAMTYPE_STREAM ) )
212 { 212 {
213 plItem * next = listMgr( PLAYLIST_ITEM_GET_CURR,0 ); 213 plItem * curr = listMgr( PLAYLIST_ITEM_GET_CURR,0 );
214 uiSetFileName( next->path,next->name,SAME_STREAMTYPE ); 214 uiSetFileName( curr->path,curr->name,SAME_STREAMTYPE );
215 } 215 }
216 216
217 switch ( guiInfo.StreamType ) 217 switch ( guiInfo.StreamType )
218 { 218 {
219 case STREAMTYPE_FILE: 219 case STREAMTYPE_FILE: