[Scummvm-git-logs] scummvm master -> 5991e8cc073951a12aaeb1700da21a4981d1f02d

athrxx athrxx at scummvm.org
Fri Mar 20 00:08:19 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5991e8cc07 AUDIO: fix compiler warning


Commit: 5991e8cc073951a12aaeb1700da21a4981d1f02d
    https://github.com/scummvm/scummvm/commit/5991e8cc073951a12aaeb1700da21a4981d1f02d
Author: athrxx (athrxx at scummvm.org)
Date: 2020-03-20T00:27:52+01:00

Commit Message:
AUDIO: fix compiler warning

(also remove translation for debug message, since we don't translate this kind of output)

Changed paths:
    audio/mididrv.cpp


diff --git a/audio/mididrv.cpp b/audio/mididrv.cpp
index ca5cd592a5..54be3d0d2b 100644
--- a/audio/mididrv.cpp
+++ b/audio/mididrv.cpp
@@ -534,7 +534,7 @@ void MidiDriver_BASE::midiDumpFinish() {
 	midiDumpFile->close();
 	const char msg[] = "Ending MIDI dump, created 'dump.mid'";
 	g_system->displayMessageOnOSD(_(msg));		//TODO: why it doesn't appear?
-	debug(_(msg));
+	debug("%s", msg);
 }
 
 MidiDriver_BASE::MidiDriver_BASE() {




More information about the Scummvm-git-logs mailing list