mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-19 11:30:09 +03:00
fix(util): fix SFile typos
This commit is contained in:
parent
f135e8746b
commit
1be8d5539c
@ -163,7 +163,7 @@ int32_t SFile::Read(SFile* file, void* buffer, size_t bytestoread, size_t* bytes
|
||||
case SFILE_PLAIN:
|
||||
{
|
||||
auto stream = reinterpret_cast<Blizzard::File::StreamRecord*>(file->m_handle);
|
||||
Blizzard::File::Read(m_stream, buffer, bytestoread, bytesread);
|
||||
Blizzard::File::Read(stream, buffer, bytestoread, bytesread);
|
||||
return 1;
|
||||
}
|
||||
case SFILE_PAQ:
|
||||
@ -182,7 +182,7 @@ int32_t SFile::Read(SFile* file, void* buffer, size_t bytestoread, size_t* bytes
|
||||
}
|
||||
}
|
||||
default:
|
||||
STORM_ASSERT(0)
|
||||
STORM_ASSERT(0);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user