diff options
author | waker <wakeroid@gmail.com> | 2009-08-11 19:36:38 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-11 19:36:38 +0200 |
commit | 66c2ab26103350f9d1d2cea3e24468cdfcae4d2c (patch) | |
tree | 203c0c4ada6d6be6ca049b8e20bb0d6deb1cf444 /playlist.c | |
parent | 36718c29869e13707d9b9bde7eb66418e5747494 (diff) |
new mp3 duration calc, several crashbug fixes
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -396,6 +396,9 @@ pl_remove (playItem_t *it) { if (!it) return -1; pl_count--; + if (playlist_current_ptr == it) { + playlist_current_ptr = NULL; + } // remove from shuffle list { |