diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/keymapper/keymap.cpp | 2 | ||||
-rw-r--r-- | backends/keymapper/keymapper.cpp | 2 | ||||
-rw-r--r-- | backends/keymapper/remap-dialog.cpp | 2 | ||||
-rw-r--r-- | backends/midi/quicktime.cpp | 2 | ||||
-rw-r--r-- | backends/platform/gp2x/gp2x.cpp | 4 | ||||
-rw-r--r-- | backends/saves/posix/posix-saves.cpp | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/backends/keymapper/keymap.cpp b/backends/keymapper/keymap.cpp index 840ba5a0c5..95b64f88e7 100644 --- a/backends/keymapper/keymap.cpp +++ b/backends/keymapper/keymap.cpp @@ -54,7 +54,7 @@ Keymap::~Keymap() { void Keymap::addAction(Action *action) { if (findAction(action->id)) - error("Action with id %s already in KeyMap!", action->id); + error("Action with id %s already in KeyMap", action->id); _actions.push_back(action); } diff --git a/backends/keymapper/keymapper.cpp b/backends/keymapper/keymapper.cpp index c74aa45b17..7d888828c6 100644 --- a/backends/keymapper/keymapper.cpp +++ b/backends/keymapper/keymapper.cpp @@ -69,7 +69,7 @@ Keymapper::~Keymapper() { void Keymapper::registerHardwareKeySet(HardwareKeySet *keys) { if (_hardwareKeys) - error("Hardware key set already registered!"); + error("Hardware key set already registered"); if (!keys) { warning("No hardware keys are supplied"); diff --git a/backends/keymapper/remap-dialog.cpp b/backends/keymapper/remap-dialog.cpp index 389ca7d1f9..d53ae588f8 100644 --- a/backends/keymapper/remap-dialog.cpp +++ b/backends/keymapper/remap-dialog.cpp @@ -147,7 +147,7 @@ void RemapDialog::reflowLayout() { _colCount = (areaW - scrollbarWidth) / colWidth; _rowCount = (areaH + spacing) / (buttonHeight + spacing); if (_colCount <= 0 || _rowCount <= 0) - error("Remap dialog too small to display any keymaps!"); + error("Remap dialog too small to display any keymaps"); _scrollBar->resize(areaX + areaW - scrollbarWidth, areaY, scrollbarWidth, areaH); _scrollBar->_entriesPerPage = _rowCount; diff --git a/backends/midi/quicktime.cpp b/backends/midi/quicktime.cpp index 62d44a37aa..5f0ee37361 100644 --- a/backends/midi/quicktime.cpp +++ b/backends/midi/quicktime.cpp @@ -125,7 +125,7 @@ int MidiDriver_QT::open() { return 0; bail: - error("Init QT failed %x %x %d\n", (int)qtNoteAllocator, (int)qtNoteChannel, (int)qtErr); + error("Init QT failed %x %x %d", (int)qtNoteAllocator, (int)qtNoteChannel, (int)qtErr); dispose(); diff --git a/backends/platform/gp2x/gp2x.cpp b/backends/platform/gp2x/gp2x.cpp index 039f72e02f..62c65e8f5e 100644 --- a/backends/platform/gp2x/gp2x.cpp +++ b/backends/platform/gp2x/gp2x.cpp @@ -129,7 +129,7 @@ void OSystem_GP2X::initBackend() { if (stat(savePath, &sb) == -1) if (errno == ENOENT) // Create the dir if it does not exist if (mkdir(savePath, 0755) != 0) - warning("mkdir for '%s' failed!", savePath); + warning("mkdir for '%s' failed", savePath); ConfMan.registerDefault("savepath", savePath); @@ -144,7 +144,7 @@ void OSystem_GP2X::initBackend() { if (stat(enginedataPath, &sb) == -1) if (errno == ENOENT) // Create the dir if it does not exist if (mkdir(enginedataPath, 0755) != 0) - warning("mkdir for '%s' failed!", enginedataPath); + warning("mkdir for '%s' failed", enginedataPath); //FIXME: Do not use File::addDefaultDirectory, rather implement OSystem::addSysArchivesToSearchSet() ! Common::File::addDefaultDirectory(enginedataPath); diff --git a/backends/saves/posix/posix-saves.cpp b/backends/saves/posix/posix-saves.cpp index bcc1824200..0827575edf 100644 --- a/backends/saves/posix/posix-saves.cpp +++ b/backends/saves/posix/posix-saves.cpp @@ -84,7 +84,7 @@ void POSIXSaveFileManager::checkPath(const Common::FSNode &dir) { if (mkdir(path.c_str(), 0755) != 0) { // mkdir could fail for various reasons: The parent dir doesn't exist, // or is not writeable, the path could be completly bogus, etc. - warning("mkdir for '%s' failed!", path.c_str()); + warning("mkdir for '%s' failed", path.c_str()); perror("mkdir"); switch (errno) { |