From c5456b832ba93ea6b8937c3451517e90b22bc7d2 Mon Sep 17 00:00:00 2001 From: Johannes Schultz Date: Sun, 1 Dec 2024 12:15:41 +0000 Subject: [PATCH] Merged revision(s) 22401 from branches/OpenMPT-1.29: [Fix] Fix compilation. ........ git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.28@22402 56274372-70c3-4bfc-bfc3-4c3a0b034d27 --- soundlib/Load_mod.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/soundlib/Load_mod.cpp b/soundlib/Load_mod.cpp index e9991434e2..0defebda93 100644 --- a/soundlib/Load_mod.cpp +++ b/soundlib/Load_mod.cpp @@ -1248,13 +1248,7 @@ bool CSoundFile::ReadMOD(FileReader &file, ModLoadingFlags loadFlags) 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