Broke noteskin colors into " Tap.colors" and " Hold.colors"

This commit is contained in:
Chris Danford
2002-08-03 18:40:09 +00:00
parent f1861ba157
commit 4c3c43abcc
19 changed files with 134 additions and 109 deletions
+3 -1
View File
@@ -42,10 +42,12 @@ bool MsdFile::ReadFile( CString sNewPath )
NULL // handle to file with attributes to
);
int iBufferSize = GetFileSize( hFile, NULL ) + 1;
int iBufferSize = GetFileSize( hFile, NULL ) + 1000; // +1000 just in case
CloseHandle( hFile );
// allocate a string to hold the file
if( m_szFileString )
delete m_szFileString;
m_szFileString = new char[iBufferSize];
FILE* fp = fopen(sNewPath, "r");