low-level WriteInternal() shouldn't call higher-level Flush()

This commit is contained in:
Glenn Maynard
2006-02-28 06:09:38 +00:00
parent af3bbbd99a
commit 0e66237817
+1 -1
View File
@@ -391,7 +391,7 @@ int RageFileObjDirect::WriteInternal( const void *pBuf, size_t iBytes )
if( m_sWriteBuf.size()+iBytes > BUFSIZE )
{
if( Flush() == -1 )
if( FlushInternal() == -1 )
return -1;
ASSERT( !m_sWriteBuf.size() );