driver cross-compilation
This commit is contained in:
@@ -98,7 +98,7 @@ IINIFile *CINIManager::ReadFile( const char *psz )
|
||||
if (!pFile)
|
||||
return NULL;
|
||||
data = CUtlBuffer<char>(pFile->Size()+1);
|
||||
pFile->Read(data.GetMemory(), pFile->Size());
|
||||
uint32_t nSize = pFile->Read(data.GetMemory(), pFile->Size());
|
||||
pFile->Close();
|
||||
|
||||
return ReadString(data.GetMemory());
|
||||
@@ -259,8 +259,6 @@ IINIFile *CINIManager::ReadString( const char *psz )
|
||||
pCurrentSectionData->m_eSectionType = SECTIONTYPE_STRING;
|
||||
pCurrentSectionData->m_szKey = tokens[i];
|
||||
|
||||
|
||||
|
||||
i++;
|
||||
if (i>=tokens.GetSize())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user