mirror of
https://github.com/ZDoom/ZMusic.git
synced 2025-02-21 02:41:03 +00:00
parent
a192e66049
commit
ba9e9da6e6
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ bool MIDIWaveWriter::CloseFile()
|
|||
size = LittleLong(uint32_t(pos - 12 - sizeof(FmtChunk) - 8));
|
||||
if (0 == fseek(File, 4 + sizeof(FmtChunk) + 4, SEEK_CUR))
|
||||
{
|
||||
if (4 == fwrite(&size, 1, 5, File))
|
||||
if (4 == fwrite(&size, 1, 4, File))
|
||||
{
|
||||
fclose(File);
|
||||
File = nullptr;
|
||||
|
|
Loading…
Reference in a new issue