changeset 1052:61723217c8cc trunk

[svn] Isn't that cute. But it's WRONG
author chainsaw
date Mon, 21 May 2007 16:34:55 -0700
parents 0f2f68b9c98c
children 149fc284aa86
files ChangeLog src/modplug/modplug.cxx
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon May 21 16:32:42 2007 -0700
+++ b/ChangeLog	Mon May 21 16:34:55 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-21 23:32:42 +0000  Tony Vroon <chainsaw@gentoo.org>
+  revision [2268]
+  dnl CD-Audio New Generation; you need to add cdaudio-ng to INPUT_PLUGINS if CDIO_LIBS is set. Or something like that. Good luck.
+  trunk/configure.ac            |    2 ++
+  trunk/src/modplug/modplug.cxx |    4 ++--
+  2 files changed, 4 insertions(+), 2 deletions(-)
+
+
 2007-05-21 23:18:14 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [2266]
   .so != .c and lack of sleep is not an excuse.
--- a/src/modplug/modplug.cxx	Mon May 21 16:32:42 2007 -0700
+++ b/src/modplug/modplug.cxx	Mon May 21 16:34:55 2007 -0700
@@ -251,8 +251,8 @@
 	int maxtime = file->mSoundFile.GetSongTime() * 1000;
 	float postime;
 
-	if(millisecond >= maxtime)
-		millisecond = maxtime - 3000;
+	if(millisecond > maxtime)
+		millisecond = maxtime;
 	maxpos = file->mSoundFile.GetMaxPosition();
 	postime = (float)maxpos / (float)maxtime;