aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-11-14 21:33:50 -0500
committerB. Watson <urchlay@slackware.uk>2025-11-14 21:33:50 -0500
commit17f5db60f8475b58485599a1324c60c9f1a65ffa (patch)
tree812ce91f3267b8cd11482ec8151a5c647ada14e8 /src
parent56762390889f929023c61ad96b483ac880f30e91 (diff)
downloadunalf-17f5db60f8475b58485599a1324c60c9f1a65ffa.tar.gz
Fix buglet in listalf.c.
Diffstat (limited to 'src')
-rw-r--r--src/listalf.c2
1 files changed, 1 insertions, 1 deletions
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;