fix error reporting
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user