simplify
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user