From: <sv...@op...> - 2024-12-01 11:43:01
|
Author: sagamusix Date: Sun Dec 1 12:42:49 2024 New Revision: 22386 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22386 Log: [Fix] Fix compilation for tracker build. 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 12:41:22 2024 (r22385) +++ branches/OpenMPT-1.29/soundlib/Load_mod.cpp Sun Dec 1 12:42:49 2024 (r22386) @@ -1311,9 +1311,9 @@ 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 |