comparison src/audacious/playlist.c @ 3382:880eea081363 trunk

Remove unnecessary manipulation of playlist_iter
author Kieran Clancy <clancy.kieran+audacious@gmail.com>
date Sun, 26 Aug 2007 07:22:11 +0930
parents 8430c3911856
children e2e875f3d02b
comparison
equal deleted inserted replaced
3381:30d801bbac7f 3382:880eea081363
346 } 346 }
347 347
348 void 348 void
349 playlist_select_playlist(Playlist *playlist) 349 playlist_select_playlist(Playlist *playlist)
350 { 350 {
351 if (playlists_iter == NULL)
352 playlists_iter = playlists;
353
354 playlists_iter = g_list_find(playlists, playlist); 351 playlists_iter = g_list_find(playlists, playlist);
355 352
356 if (playlists_iter == NULL) 353 if (playlists_iter == NULL)
357 playlists_iter = playlists; 354 playlists_iter = playlists;
358 355