diff options
author | David Corrales | 2007-10-31 19:09:23 +0000 |
---|---|---|
committer | David Corrales | 2007-10-31 19:09:23 +0000 |
commit | dc29c25b715a8bde4eb0e0a19529f656c5b5123e (patch) | |
tree | c948be7ce17d07fc9c0b5b4c1267c58516c573e4 /backends/saves | |
parent | 94499005cf29dd29d6a6e3c5fb4d9761f414b361 (diff) | |
download | scummvm-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.cpp | 6 |
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) |