mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 19:10:52 +00:00
Changed: Minor changes
This commit is contained in:
parent
9d319a5688
commit
02bb9edf7d
2 changed files with 2 additions and 2 deletions
|
@ -129,12 +129,12 @@ bool CBigFile::add (const std::string &sBigFileName, uint32 nOptions)
|
|||
|
||||
bnp.BigFileName= sBigFileName;
|
||||
|
||||
|
||||
// Allocate a new ThreadSafe FileId for this bnp.
|
||||
bnp.ThreadFileId= _ThreadFileArray.allocate();
|
||||
|
||||
// Get a ThreadSafe handle on the file
|
||||
CHandleFile &handle= _ThreadFileArray.get(bnp.ThreadFileId);
|
||||
|
||||
// Open the big file.
|
||||
handle.File = fopen (sBigFileName.c_str(), "rb");
|
||||
if (handle.File == NULL)
|
||||
|
|
|
@ -260,7 +260,7 @@ void CFileContainer::getFileListByPath(const std::string &extension, const std::
|
|||
{
|
||||
string ext = SSMext.get(first->idExt);
|
||||
string p = SSMpath.get(first->idPath);
|
||||
|
||||
|
||||
if (strstr(p.c_str(), path.c_str()) != NULL && (ext == extension || extension.empty()))
|
||||
{
|
||||
filenames.push_back(first->Name);
|
||||
|
|
Loading…
Reference in a new issue