From: <sv...@op...> - 2024-12-01 12:15:31
|
Author: sagamusix Date: Sun Dec 1 13:15:19 2024 New Revision: 22401 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22401 Log: [Fix] Fix compilation. Modified: branches/OpenMPT-1.29/soundlib/Load_mod.cpp Modified: branches/OpenMPT-1.29/soundlib/Load_mod.cpp ============================================================================== --- branches/OpenMPT-1.29/soundlib/Load_mod.cpp Sun Dec 1 13:14:48 2024 (r22400) +++ branches/OpenMPT-1.29/soundlib/Load_mod.cpp Sun Dec 1 13:15:19 2024 (r22401) @@ -1307,13 +1307,7 @@ if(++emptySampleReferences > 1) { #ifdef MPT_EXTERNAL_SAMPLES - mpt::ustring filenameHint; - if(!file.GetFileName().empty()) - { - const auto filename = file.GetFileName().GetFilename().ToUnicode(); - filenameHint = mpt::format(U_(" ({}.nt or {}.as)"))(filename, filename); - } - AddToLog(LogWarning, mpt::format(U_("This Startrekker AM file is most likely missing its companion file{}. Synthesized instruments will not play."))(filenameHint)); + AddToLog(LogWarning, U_("This Startrekker AM file is most likely missing its companion file. Synthesized instruments will not play.")); #else AddToLog(LogWarning, U_("This appears to be a Startrekker AM file with external synthesizes instruments. External instruments are currently not supported.")); #endif // MPT_EXTERNAL_SAMPLES |