diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-11-27 16:38:10 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-11-27 16:38:10 -0500 |
| commit | 85770c4b5cb89a8a4420293a2a8b1f0cef851d7e (patch) | |
| tree | 946daf9aa8600fe192fea6e15af95641e2ea8357 /src/alf.c | |
| parent | 68de9dc3de220ab454efe066a805e18358c5f4f2 (diff) | |
| download | unalf-85770c4b5cb89a8a4420293a2a8b1f0cef851d7e.tar.gz | |
alf: pad header filename with spaces to match LZ.COM.
Diffstat (limited to 'src/alf.c')
| -rw-r--r-- | src/alf.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -149,6 +149,7 @@ void create_header(void) { output_buf[0] = 0x1a; output_buf[1] = 0x0f; + memset(&output_buf[3], 0x20, 13); strncat((char *)&output_buf[2], hdr_filename, 13); output_buf[14] = 0x00; store_quad(15, 0); /* compressed size, fill in later */ |
