From 85770c4b5cb89a8a4420293a2a8b1f0cef851d7e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 27 Nov 2025 16:38:10 -0500 Subject: alf: pad header filename with spaces to match LZ.COM. --- src/alf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/alf.c') diff --git a/src/alf.c b/src/alf.c index 725b109..9c25068 100644 --- a/src/alf.c +++ b/src/alf.c @@ -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 */ -- cgit v1.2.3