aboutsummaryrefslogtreecommitdiff
path: root/backends/saves
diff options
context:
space:
mode:
authorDavid Corrales2007-10-31 19:09:23 +0000
committerDavid Corrales2007-10-31 19:09:23 +0000
commitdc29c25b715a8bde4eb0e0a19529f656c5b5123e (patch)
treec948be7ce17d07fc9c0b5b4c1267c58516c573e4 /backends/saves
parent94499005cf29dd29d6a6e3c5fb4d9761f414b361 (diff)
downloadscummvm-rg350-dc29c25b715a8bde4eb0e0a19529f656c5b5123e.tar.gz
scummvm-rg350-dc29c25b715a8bde4eb0e0a19529f656c5b5123e.tar.bz2
scummvm-rg350-dc29c25b715a8bde4eb0e0a19529f656c5b5123e.zip
Fixed a long due typo in the error messages inside the DefaultSaveFileManager.
svn-id: r29341
Diffstat (limited to 'backends/saves')
-rw-r--r--backends/saves/default/default-saves.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/saves/default/default-saves.cpp b/backends/saves/default/default-saves.cpp
index c43d13b983..bb5f038b68 100644
--- a/backends/saves/default/default-saves.cpp
+++ b/backends/saves/default/default-saves.cpp
@@ -192,7 +192,7 @@ Common::OutSaveFile *DefaultSaveFileManager::openForSaving(const char *filename)
setError(SFM_DIR_NAMETOOLONG, Common::String("The path name is too long"));
break;
case ENOENT:
- setError(SFM_DIR_NOENT, Common::String("A component of the path path does not exist, or the path is an empty string"));
+ setError(SFM_DIR_NOENT, Common::String("A component of the path does not exist, or the path is an empty string"));
break;
case ENOTDIR:
setError(SFM_DIR_NOTDIR, Common::String("A component of the path prefix is not a directory"));
@@ -240,12 +240,12 @@ bool DefaultSaveFileManager::removeSavefile(const char *filename) {
setError(SFM_DIR_ACCESS, Common::String("Search or write permission denied"));
if (errno == ENOENT)
- setError(SFM_DIR_NOENT, Common::String("A component of the path path does not exist, or the path is an empty string"));
+ setError(SFM_DIR_NOENT, Common::String("A component of the path does not exist, or the path is an empty string"));
return false;
} else {
return true;
- }
+ }
}
#endif // !defined(DISABLE_DEFAULT_SAVEFILEMANAGER)