Janitorial: Fix punctuation in error/warning

svn-id: r51296
This commit is contained in:
Torbjörn Andersson 2010-07-26 06:10:47 +00:00
parent 27ce375a95
commit 02a2f08408
2 changed files with 2 additions and 2 deletions

View File

@ -347,7 +347,7 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
// On the other hand we cannot load the plugins before we know the file paths (in case of external plugins).
if (settings.contains("music-driver")) {
if (MidiDriver::getMusicType(MidiDriver::getDeviceHandle(settings["music-driver"])) == MT_INVALID) {
warning("Unrecognized music driver '%s'. Switching to default device.", settings["music-driver"].c_str());
warning("Unrecognized music driver '%s'. Switching to default device", settings["music-driver"].c_str());
settings["music-driver"] = "auto";
}
}

View File

@ -261,7 +261,7 @@ MidiDriver::DeviceHandle MidiDriver::getDeviceHandle(const Common::String &ident
const MusicPlugin::List p = MusicMan.getPlugins();
if (p.begin() == p.end())
error("Music plugins must be loaded prior to calling this method.");
error("Music plugins must be loaded prior to calling this method");
for (MusicPlugin::List::const_iterator m = p.begin(); m != p.end(); m++) {
MusicDevices i = (**m)->getDevices();