fix(Core/GUARD_RETURN): correct typo (#3743)
This commit is contained in:
parent
b8c2c2311d
commit
ba9a09dd0c
3 changed files with 5 additions and 5 deletions
|
|
@ -72,7 +72,7 @@ void MPQManager::InitializeDBC()
|
|||
|
||||
FILE* MPQManager::GetFile(const std::string& path )
|
||||
{
|
||||
RETURN_GUAD(mutex, false);
|
||||
GUARD_RETURN(mutex, nullptr);
|
||||
MPQFile file(path.c_str());
|
||||
if (file.isEof())
|
||||
return nullptr;
|
||||
|
|
@ -87,7 +87,7 @@ DBC* MPQManager::GetDBC(const std::string& name )
|
|||
|
||||
FILE* MPQManager::GetFileFrom(const std::string& path, MPQArchive* file )
|
||||
{
|
||||
RETURN_GUAD(mutex, false);
|
||||
GUARD_RETURN(mutex, nullptr);
|
||||
mpq_archive* mpq_a = file->mpq_a;
|
||||
|
||||
uint32_t filenum;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue