mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
Fixed a long due typo in the error messages inside the DefaultSaveFileManager.
svn-id: r29341
This commit is contained in:
parent
94499005cf
commit
dc29c25b71
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user