mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-20 22:57:20 +01:00
+ SFileAddListFile and SFileCompactArchive now take "const TCHAR *" instead of "const char *"
+ Fixed some bugs
This commit is contained in:
@@ -990,7 +990,7 @@ bool WINAPI SFileGetFileName(HANDLE hFile, char * szFileName)
|
||||
if(szFileName != NULL)
|
||||
{
|
||||
const TCHAR * szStreamName = FileStream_GetFileName(hf->pStream);
|
||||
CopyFileName(szFileName, szStreamName, _tcslen(szStreamName));
|
||||
StringCopy(szFileName, MAX_PATH, szStreamName);
|
||||
}
|
||||
nError = ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user