fix VC6 compile error

This commit is contained in:
Chris Danford
2003-12-21 18:35:00 +00:00
parent 788f4a24ad
commit 8a77374e04
+1 -1
View File
@@ -345,7 +345,7 @@ void RageFile::Rewind()
int RageFile::Read( CString &buffer, int bytes )
{
buffer.clear();
buffer.erase( buffer.begin(), buffer.end() );
buffer.reserve( bytes != -1? bytes: this->GetFileSize() );
int ret = 0;