fix error reporting

This commit is contained in:
Glenn Maynard
2004-04-21 04:16:31 +00:00
parent 8ef2d598c2
commit 485354928f
3 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -452,7 +452,7 @@ RageFileObj *RageFileDriverZip::Open( const CString &path, int mode, RageFile &p
{
if( mode == RageFile::WRITE )
{
err = EINVAL;
err = ERROR_WRITING_NOT_SUPPORTED;
return NULL;
}