mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-17 21:48:19 +01:00
+ SFileAddListFile and SFileCompactArchive now take "const TCHAR *" instead of "const char *"
+ Fixed some bugs
This commit is contained in:
@@ -451,12 +451,11 @@ int SFileAddFile_Init(
|
||||
}
|
||||
else
|
||||
{
|
||||
// Free all internal files - (listfile), (attributes), (signature)
|
||||
InvalidateInternalFiles(ha);
|
||||
|
||||
// Attempt to allocate new file entry
|
||||
pFileEntry = AllocateFileEntry(ha, szFileName, lcLocale, &dwHashIndex);
|
||||
if(pFileEntry == NULL)
|
||||
if(pFileEntry != NULL)
|
||||
InvalidateInternalFiles(ha);
|
||||
else
|
||||
nError = ERROR_DISK_FULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user