mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-31 11:36:26 +01:00
+ Improved patching process so that it works for Starcraft II patches
+ Removed memory leaks in file search
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user