mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-27 22:42:29 +00:00
- Fixed: zipdir did not byte-swap file sizes in the central directory.
SVN r1787 (trunk)
This commit is contained in:
parent
48d78730f3
commit
8992f71773
1 changed files with 2 additions and 2 deletions
|
@ -980,8 +980,8 @@ int write_central_dir(FILE *zip, file_sorted_t *filep)
|
|||
dir.ModTime = file->time;
|
||||
dir.ModDate = file->date;
|
||||
dir.CRC32 = file->crc32;
|
||||
dir.CompressedSize = file->compressed_size;
|
||||
dir.UncompressedSize = file->uncompressed_size;
|
||||
dir.CompressedSize = LittleLong(file->compressed_size);
|
||||
dir.UncompressedSize = LittleLong(file->uncompressed_size);
|
||||
dir.NameLength = LittleShort((unsigned short)strlen(filep->path_in_zip));
|
||||
dir.ExtraLength = 0;
|
||||
dir.CommentLength = 0;
|
||||
|
|
Loading…
Reference in a new issue