diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-11-14 21:33:50 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-11-14 21:33:50 -0500 |
| commit | 17f5db60f8475b58485599a1324c60c9f1a65ffa (patch) | |
| tree | 812ce91f3267b8cd11482ec8151a5c647ada14e8 /src/listalf.c | |
| parent | 56762390889f929023c61ad96b483ac880f30e91 (diff) | |
| download | unalf-17f5db60f8475b58485599a1324c60c9f1a65ffa.tar.gz | |
Fix buglet in listalf.c.
Diffstat (limited to 'src/listalf.c')
| -rw-r--r-- | src/listalf.c | 2 |
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; |
