fix(Core/GUARD_RETURN): correct typo (#3743)

This commit is contained in:
Francesco Borzì 2021-03-23 16:30:25 +01:00 committed by GitHub
parent b8c2c2311d
commit ba9a09dd0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -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;