File diff r25665:904100ec67ac → r25666:da59d4ce1d64
src/music/midifile.cpp
Show inline comments
 
@@ -1109,7 +1109,7 @@ std::string MidiFile::GetSMFFile(const M
 
static bool CmdDumpSMF(byte argc, char *argv[])
 
{
 
	if (argc == 0) {
 
		IConsolePrint(CC_WARNING, "Write the current song to a Standard MIDI File. Usage: 'dumpsmf <filename>'");
 
		IConsolePrint(CC_HELP, "Write the current song to a Standard MIDI File. Usage: 'dumpsmf <filename>'.");
 
		return true;
 
	}
 
	if (argc != 2) {
 
@@ -1127,7 +1127,7 @@ static bool CmdDumpSMF(byte argc, char *
 
		IConsolePrint(CC_ERROR, "Filename too long.");
 
		return false;
 
	}
 
	IConsolePrintF(CC_INFO, "Dumping MIDI to: %s", fnbuf);
 
	IConsolePrint(CC_INFO, "Dumping MIDI to '{}'.", fnbuf);
 

	
 
	if (_midifile_instance->WriteSMF(fnbuf)) {
 
		IConsolePrint(CC_INFO, "File written successfully.");