+ Improved patching process so that it works for Starcraft II patches

+ Removed memory leaks in file search
This commit is contained in:
Ladislav Zezula
2014-10-07 11:23:52 +02:00
parent 1aa906cf21
commit 2d3b3e11c0
12 changed files with 536 additions and 264 deletions

View File

@@ -189,6 +189,10 @@ static size_t ReadListFileLine(TListFileCache * pCache, char * szLine, int nMaxC
if(*pCache->pPos == '~')
szExtraString = szLine;
// Remember that last occurence of a slash or backslash
// if(*pCache->pPos == '\\' || *pCache->pPos == '/')
// szPlainName = szLine + 1;
// Copy the character
*szLine++ = *pCache->pPos++;
}