diff options
author | Andre Heider | 2010-09-05 15:48:22 +0000 |
---|---|---|
committer | Andre Heider | 2010-09-05 15:48:22 +0000 |
commit | 284b23092b8f6215d88b31af7ba7f67a58c365cc (patch) | |
tree | b74e9163de9b0f6736ecd6b7daaa9313b0173c9e | |
parent | 8889f4c5ad8b0a2bde94e1146a9fdb087059dfcf (diff) | |
download | scummvm-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
-rw-r--r-- | backends/saves/default/default-saves.cpp | 4 |
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 { |