mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 18:19:43 +01:00
Tidy up binaryBlob initialization to use SDL_zeroa()
It's simpler and more concise than writing out the SDL_memset() in full, which means you're less likely to screw up those lines of code.
This commit is contained in:
parent
bd97378862
commit
70b9ffe6a5
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@
|
||||||
binaryBlob::binaryBlob()
|
binaryBlob::binaryBlob()
|
||||||
{
|
{
|
||||||
numberofHeaders = 0;
|
numberofHeaders = 0;
|
||||||
SDL_memset(m_headers, 0, sizeof(m_headers));
|
SDL_zeroa(m_headers);
|
||||||
SDL_memset(m_memblocks, 0, sizeof(m_memblocks));
|
SDL_zeroa(m_memblocks);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef VVV_COMPILEMUSIC
|
#ifdef VVV_COMPILEMUSIC
|
||||||
|
|
Loading…
Reference in a new issue