changeset 383:e0caab85510e

Set song length to 0 instead of -1 to enable XMMS's seek slidebar at all times.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 27 Nov 2005 19:16:04 +0000
parents 3fe7f85dd39a
children 7e35b6059d79
files src/xmms-sid.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmms-sid.c	Sat Nov 26 04:23:03 2005 +0000
+++ b/src/xmms-sid.c	Sun Nov 27 19:16:04 2005 +0000
@@ -418,7 +418,7 @@
 
 		/* Set song information for current subtune */
 		xs_plugin_ip.set_info(myTune->subTunes[myStatus.currSong - 1].tuneTitle,
-				      (songLength > 0) ? (songLength * 1000) : -1,
+				      (songLength > 0) ? (songLength * 1000) : 0,
 				      (myTune->subTunes[myStatus.currSong - 1].tuneSpeed >
 				       0) ? (myTune->subTunes[myStatus.currSong - 1].tuneSpeed * 1000) : -1,
 				      myStatus.audioFrequency, myStatus.audioChannels);