This commit is contained in:
Glenn Maynard
2003-12-05 02:26:01 +00:00
parent ac004ea51a
commit e5e4599438
+1 -2
View File
@@ -143,8 +143,7 @@ bool MsdFile::ReadFile( CString sNewPath )
return false;
}
/* XXX: f.GetFileSizeInBytes() */
int iBufferSize = GetFileSizeInBytes(sNewPath);
const int iBufferSize = f.GetFileSize();
// allocate a string to hold the file
char* szFileString = new char[iBufferSize];