From 0999534749f6c4edb9e4d054b95f185b829adba3 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 31 May 2009 10:02:16 +0000 Subject: The error() and warning() functions add ! and newline automatically. (I didn't look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061 --- backends/platform/gp2x/gp2x.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/platform/gp2x') 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); -- cgit v1.2.3