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; return false;
} }
/* XXX: f.GetFileSizeInBytes() */ const int iBufferSize = f.GetFileSize();
int iBufferSize = GetFileSizeInBytes(sNewPath);
// allocate a string to hold the file // allocate a string to hold the file
char* szFileString = new char[iBufferSize]; char* szFileString = new char[iBufferSize];