Mercurial > audlegacy
diff src/audacious/ui_main.c @ 2480:bb2f191895ce trunk
[svn] - fixed crash when skipping to next song with an empty playlist
| author | marvin |
|---|---|
| date | Tue, 06 Feb 2007 06:06:58 -0800 |
| parents | 54bea5c43ed8 |
| children | 5ce3c51d4499 |
line wrap: on
line diff
--- a/src/audacious/ui_main.c Mon Feb 05 17:54:57 2007 -0800 +++ b/src/audacious/ui_main.c Tue Feb 06 06:06:58 2007 -0800 @@ -2131,7 +2131,6 @@ mainwin_fwd_pushed(void) { g_get_current_time(&cb_time); - seek_initial_pos = hslider_get_position(mainwin_position); seek_state = MAINWIN_SEEK_FWD; } @@ -2152,7 +2151,7 @@ if ( now_dur <= TRISTATE_THRESHOLD ) { - /* interpret as 'skip to previous song' */ + /* interpret as 'skip to next song' */ playlist_next(playlist_get_active()); } else
