aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorAndre Heider2010-09-05 15:48:22 +0000
committerAndre Heider2010-09-05 15:48:22 +0000
commit284b23092b8f6215d88b31af7ba7f67a58c365cc (patch)
treeb74e9163de9b0f6736ecd6b7daaa9313b0173c9e /backends
parent8889f4c5ad8b0a2bde94e1146a9fdb087059dfcf (diff)
downloadscummvm-rg350-284b23092b8f6215d88b31af7ba7f67a58c365cc.tar.gz
scummvm-rg350-284b23092b8f6215d88b31af7ba7f67a58c365cc.tar.bz2
scummvm-rg350-284b23092b8f6215d88b31af7ba7f67a58c365cc.zip
SAVES: Revert whitespace changes to minimize the diff to trunk.
svn-id: r52567
Diffstat (limited to 'backends')
-rw-r--r--backends/saves/default/default-saves.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/saves/default/default-saves.cpp b/backends/saves/default/default-saves.cpp
index 55aa469309..1ab898d2d6 100644
--- a/backends/saves/default/default-saves.cpp
+++ b/backends/saves/default/default-saves.cpp
@@ -131,11 +131,11 @@ bool DefaultSaveFileManager::removeSavefile(const Common::String &filename) {
// There is a nicely portable workaround, too: Make this method overloadable.
if (remove(file.getPath().c_str()) != 0) {
#ifndef _WIN32_WCE
- if (errno == EACCES)
+ if (errno == EACCES)
setError(Common::kWritePermissionDenied, "Search or write permission denied: "+file.getName());
if (errno == ENOENT)
- setError(Common::kPathDoesNotExist, "removeSavefile: '"+file.getName()+"' does not exist or path is invalid");
+ setError(Common::kPathDoesNotExist, "removeSavefile: '"+file.getName()+"' does not exist or path is invalid");
#endif
return false;
} else {