changeset 2321:9360a693d8af

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 03 Sep 2019 10:40:14 +0300
parents 0115b3dd9064
children 5abb81daadd5
files tools/packed.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tools/packed.c	Tue Sep 03 10:40:03 2019 +0300
+++ b/tools/packed.c	Tue Sep 03 10:40:14 2019 +0300
@@ -224,9 +224,9 @@
 
     // Compute directory offset and number of entries
     memcpy(&hdr.ident, DPACK_IDENT, sizeof(hdr.ident));
-    hdr.version = DPACK_VERSION;
+    hdr.version    = DPACK_VERSION;
     hdr.dirEntries = 0;
-    hdr.dirOffset =
+    hdr.dirOffset  =
         sizeof(hdr.ident) + sizeof(hdr.version) +
         sizeof(hdr.dirEntries) + sizeof(hdr.dirOffset);
 
@@ -243,7 +243,7 @@
     if (fseeko(pack->file, 0, SEEK_SET) != 0)
         return DMERR_FSEEK;
 
-    if (!dm_fwrite_str(pack->file, (Uint8 *) & hdr.ident, sizeof(hdr.ident)) ||
+    if (!dm_fwrite_str(pack->file, (Uint8 *) &hdr.ident, sizeof(hdr.ident)) ||
         !dm_fwrite_le16(pack->file, hdr.version) ||
         !dm_fwrite_le32(pack->file, hdr.dirEntries) ||
         !dm_fwrite_le64(pack->file, hdr.dirOffset))