|
From: <man...@us...> - 2013-11-10 02:20:32
|
Revision: 3163
http://sourceforge.net/p/modplug/code/3163
Author: manxorist
Date: 2013-11-10 02:20:26 +0000 (Sun, 10 Nov 2013)
Log Message:
-----------
[Ref] Instrument path names are only needed for .itp files and should thus be #ifdef MODPLUG_TRACKER .
Modified Paths:
--------------
trunk/OpenMPT/soundlib/SampleFormats.cpp
trunk/OpenMPT/soundlib/Sndfile.h
Modified: trunk/OpenMPT/soundlib/SampleFormats.cpp
===================================================================
--- trunk/OpenMPT/soundlib/SampleFormats.cpp 2013-11-10 01:31:49 UTC (rev 3162)
+++ trunk/OpenMPT/soundlib/SampleFormats.cpp 2013-11-10 02:20:26 UTC (rev 3163)
@@ -178,16 +178,16 @@
RemoveInstrumentSamples(nInstr);
}
+#ifdef MODPLUG_TRACKER
// -> CODE#0023
// -> DESC="IT project files (.itp)"
m_szInstrumentPath[nInstr - 1].clear();
-#ifdef MODPLUG_TRACKER
if(GetpModDoc())
{
GetpModDoc()->m_bsInstrumentModified.reset(nInstr - 1);
}
+// -! NEW_FEATURE#0023
#endif // MODPLUG_TRACKER
-// -! NEW_FEATURE#0023
CriticalSection cs;
Modified: trunk/OpenMPT/soundlib/Sndfile.h
===================================================================
--- trunk/OpenMPT/soundlib/Sndfile.h 2013-11-10 01:31:49 UTC (rev 3162)
+++ trunk/OpenMPT/soundlib/Sndfile.h 2013-11-10 02:20:26 UTC (rev 3163)
@@ -403,10 +403,12 @@
SongMessage songMessage;
std::string madeWithTracker;
+#ifdef MODPLUG_TRACKER
// -> CODE#0023
// -> DESC="IT project files (.itp)"
std::string m_szInstrumentPath[MAX_INSTRUMENTS];
// -! NEW_FEATURE#0023
+#endif // MODPLUG_TRACKER
bool m_bIsRendering;
bool m_bPatternTransitionOccurred;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|