Skip to content

Commit

Permalink
Never commit stuff before testing
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBeckebans committed Apr 29, 2023
1 parent 03bbf9a commit edb62c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neo/framework/File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1406,15 +1406,15 @@ int idFile_Permanent::Write( const void* buffer, int len )
return 0;
}

buf = ( byte* )buffer;

// Chillax
if( buf == NULL )
{
common->Printf( "idFile_Permanent::Write: buffer is null, 0 bytes written to %s\n", name.c_str() );
return 0;
}

buf = ( byte* )buffer;

remaining = len;
tries = 0;
while( remaining )
Expand Down

0 comments on commit edb62c1

Please sign in to comment.