|
From: <rel...@us...> - 2009-08-25 20:14:34
|
Revision: 343
http://modplug.svn.sourceforge.net/modplug/?rev=343&view=rev
Author: relabsoluness
Date: 2009-08-25 20:14:24 +0000 (Tue, 25 Aug 2009)
Log Message:
-----------
[Fix] IT loader: Loading song and instrument extensions was broken (since rev. 340).
Modified Paths:
--------------
trunk/OpenMPT/soundlib/Load_it.cpp
Modified: trunk/OpenMPT/soundlib/Load_it.cpp
===================================================================
--- trunk/OpenMPT/soundlib/Load_it.cpp 2009-08-25 01:18:21 UTC (rev 342)
+++ trunk/OpenMPT/soundlib/Load_it.cpp 2009-08-25 20:14:24 UTC (rev 343)
@@ -1285,7 +1285,7 @@
}
// Load instrument and song extensions.
- if(mptStartPos >= dwMemPos && mptStartPos < dwMemLength)
+ if(mptStartPos >= dwMemPos)
{
LPCBYTE ptr = LoadExtendedInstrumentProperties(lpStream + dwMemPos, lpStream + mptStartPos, &interpretModplugmade);
LoadExtendedSongProperties(GetType(), ptr, lpStream, mptStartPos, &interpretModplugmade);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|