aboutsummaryrefslogtreecommitdiff
path: root/engines/simon/midi.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-04-04 22:21:10 +0000
committerEugene Sandulenko2006-04-04 22:21:10 +0000
commit8fa9bd6728a1d739bd53c297b92f962e465fa88e (patch)
treef68a4ec8d5e14a09f42f26b9f588673a9a1ae443 /engines/simon/midi.cpp
parentd292c0ec55024ef95833f56300987a19e2ef4e31 (diff)
downloadscummvm-rg350-8fa9bd6728a1d739bd53c297b92f962e465fa88e.tar.gz
scummvm-rg350-8fa9bd6728a1d739bd53c297b92f962e465fa88e.tar.bz2
scummvm-rg350-8fa9bd6728a1d739bd53c297b92f962e465fa88e.zip
Removed extra exclamation marks in warning() calls as well.
svn-id: r21608
Diffstat (limited to 'engines/simon/midi.cpp')
-rw-r--r--engines/simon/midi.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/simon/midi.cpp b/engines/simon/midi.cpp
index 915bc7108f..4c6a971dcf 100644
--- a/engines/simon/midi.cpp
+++ b/engines/simon/midi.cpp
@@ -485,7 +485,7 @@ void MidiPlayer::loadXMIDI(Common::File *in, bool sfx) {
in->read(&buf[2], 2);
}
if (memcmp(buf, "CAT ", 4)) {
- warning("Could not find 'CAT ' tag to determine resource size!");
+ warning("Could not find 'CAT ' tag to determine resource size");
return;
}
size += 4 + in->readUint32BE();
@@ -493,7 +493,7 @@ void MidiPlayer::loadXMIDI(Common::File *in, bool sfx) {
p->data = (byte *) calloc(size, 1);
in->read(p->data, size);
} else {
- warning("Expected 'FORM' tag but found '%c%c%c%c' instead!", buf[0], buf[1], buf[2], buf[3]);
+ warning("Expected 'FORM' tag but found '%c%c%c%c' instead", buf[0], buf[1], buf[2], buf[3]);
return;
}
@@ -501,7 +501,7 @@ void MidiPlayer::loadXMIDI(Common::File *in, bool sfx) {
parser->setMidiDriver(this);
parser->setTimerRate(_driver->getBaseTempo());
if (!parser->loadMusic(p->data, size)) {
- warning("Error reading track!");
+ warning("Error reading track");
delete parser;
parser = 0;
}
@@ -531,7 +531,7 @@ void MidiPlayer::loadS1D (Common::File *in, bool sfx) {
parser->setMidiDriver(this);
parser->setTimerRate(_driver->getBaseTempo());
if (!parser->loadMusic(p->data, size)) {
- warning("Error reading track!");
+ warning("Error reading track");
delete parser;
parser = 0;
}