File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ struct EntryInfo
1717 // archive data
1818 uint32_t Offset = 0 ; // in sectors (each sector is 2048 bytes)
1919 uint32_t Sector = 0 ; // in sectors (each sector is 2048 bytes)
20- wchar_t FileName[32 ]; // file name in the archive
20+ wchar_t FileName[24 ]; // file name in the archive
2121
2222 // editor data
2323 std::wstring Type = L" Unknown" ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ void ParserPCv1::Open(IMGArchive* pArc)
2020 stream.read (reinterpret_cast <char *>(&entry.Offset ), sizeof (entry.Offset ));
2121 stream.read (reinterpret_cast <char *>(&entry.Sector ), sizeof (entry.Sector ));
2222
23- std::vector<char > buffer (32 );
23+ std::vector<char > buffer (24 );
2424 stream.read (buffer.data (), buffer.size ());
2525 Utils::ConvertUtf8ToWide (buffer.data (), entry.FileName , buffer.size ());
2626
You can’t perform that action at this time.
0 commit comments