From 17f5db60f8475b58485599a1324c60c9f1a65ffa Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 14 Nov 2025 21:33:50 -0500 Subject: Fix buglet in listalf.c. --- src/listalf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/listalf.c b/src/listalf.c index 71d8195..2a06620 100644 --- a/src/listalf.c +++ b/src/listalf.c @@ -56,7 +56,7 @@ void format_msdos_date(char *buf) { /* valid months range 1 to 12. values 0, 13, 14, 15 are possible but invalid (print as ???) */ - month = (d >> 5) && 0x0f; + month = (d >> 5) & 0x0f; /* valid day range is 1 to 31. 0 is invalid, print as-is. */ day = d & 0x1f; -- cgit v1.2.3