From 968235f30d38c6dbca23e2ffab9b8bfd93831fab Mon Sep 17 00:00:00 2001 From: Johannes Schultz Date: Sun, 1 Dec 2024 11:42:49 +0000 Subject: [PATCH] [Fix] Fix compilation for tracker build. git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.29@22386 56274372-70c3-4bfc-bfc3-4c3a0b034d27 --- soundlib/Load_mod.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soundlib/Load_mod.cpp b/soundlib/Load_mod.cpp index 6eb949f2e5..34c3f5e512 100644 --- a/soundlib/Load_mod.cpp +++ b/soundlib/Load_mod.cpp @@ -1311,9 +1311,9 @@ bool CSoundFile::ReadMOD(FileReader &file, ModLoadingFlags loadFlags) if(file.GetOptionalFileName()) { const auto filename = file.GetOptionalFileName()->GetFilename().ToUnicode(); - filenameHint = MPT_UFORMAT(" ({}.nt or {}.as)")(filename, filename); + filenameHint = mpt::format(U_(" ({}.nt or {}.as)"))(filename, filename); } - AddToLog(LogWarning, MPT_UFORMAT("This Startrekker AM file is most likely missing its companion file{}. Synthesized instruments will not play.")(filenameHint)); + AddToLog(LogWarning, mpt::format(U_("This Startrekker AM file is most likely missing its companion file{}. Synthesized instruments will not play."))(filenameHint)); #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