Skip to content

Commit edb62c1

Browse files
Never commit stuff before testing
1 parent 03bbf9a commit edb62c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/framework/File.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,15 +1406,15 @@ int idFile_Permanent::Write( const void* buffer, int len )
14061406
return 0;
14071407
}
14081408

1409+
buf = ( byte* )buffer;
1410+
14091411
// Chillax
14101412
if( buf == NULL )
14111413
{
14121414
common->Printf( "idFile_Permanent::Write: buffer is null, 0 bytes written to %s\n", name.c_str() );
14131415
return 0;
14141416
}
14151417

1416-
buf = ( byte* )buffer;
1417-
14181418
remaining = len;
14191419
tries = 0;
14201420
while( remaining )

0 commit comments

Comments
 (0)