[Scummvm-cvs-logs] SF.net SVN: scummvm: [23959] scummvm/trunk/engines/simon/midiparser_s1d.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Thu Sep 21 03:37:02 CEST 2006


Revision: 23959
          http://svn.sourceforge.net/scummvm/?rev=23959&view=rev
Author:   kirben
Date:     2006-09-20 18:36:58 -0700 (Wed, 20 Sep 2006)

Log Message:
-----------
Remove excess newlines for errors/warnings

Modified Paths:
--------------
    scummvm/trunk/engines/simon/midiparser_s1d.cpp

Modified: scummvm/trunk/engines/simon/midiparser_s1d.cpp
===================================================================
--- scummvm/trunk/engines/simon/midiparser_s1d.cpp	2006-09-21 01:34:10 UTC (rev 23958)
+++ scummvm/trunk/engines/simon/midiparser_s1d.cpp	2006-09-21 01:36:58 UTC (rev 23959)
@@ -115,7 +115,7 @@
 		// OTherwise fall through to default.
 
 	default:
-		warning("MidiParser_S1D: Unexpected byte 0x%02X found!\n", (int) info.command());
+		warning("MidiParser_S1D: Unexpected byte 0x%02X found", (int) info.command());
 		break;
 	}
 }
@@ -125,7 +125,7 @@
 
 	byte *pos = data;
 	if (*(pos++) != 0xFC)
-		error("Expected 0xFC header but found 0x%02X instead\n", (int) *pos);
+		error("Expected 0xFC header but found 0x%02X instead", (int) *pos);
 
 	// The next 3 bytes MIGHT be tempo, but we skip them and use the default.
 //	setTempo (*(pos++) | (*(pos++) << 8) | (*(pos++) << 16));


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list