aboutsummaryrefslogtreecommitdiff
path: root/src/alf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alf.c')
-rw-r--r--src/alf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alf.c b/src/alf.c
index d0490ab..9f9ae9d 100644
--- a/src/alf.c
+++ b/src/alf.c
@@ -110,7 +110,7 @@ unsigned long get_msdos_date_time(void) {
/* use a 0 timestamp if the year's out of range, unalf will
display it as <none>. */
- if(tm->tm_year < 1980 || tm->tm_year > 2107)
+ if(tm->tm_year < 80 || tm->tm_year > 207)
return 0;
msdos_year = tm->tm_year + 1900 - 1980;