Mercurial > audlegacy-plugins
diff src/modplug/modplug.cxx @ 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 | 032053ca08ab |
line wrap: on
line diff
--- 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;
