diff options
Diffstat (limited to 'lib/cdutils.cpp')
-rw-r--r-- | lib/cdutils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/cdutils.cpp b/lib/cdutils.cpp index 7130c87..81744e8 100644 --- a/lib/cdutils.cpp +++ b/lib/cdutils.cpp @@ -342,6 +342,9 @@ int cdutils::show_entry(struct DirEntry * dir) { strcpy(pbuf, ".."); } + if (dir->Year < 70) + dir->Year += 100; + printm(M_BARE, "%6i - %8i - %2i/%02i/%04i - %2i:%02i:%02i%+03.1f - %c%c%c%c%c%c%c%c - %s\n", dir->Sector, dir->Size, dir->Day, dir->Month, dir->Year + 1900, dir->Hour, dir->Minute, dir->Second, ((float) dir->Offset) / 4, dir->Flags & 1 ? 'H' : '-', dir->Flags & 2 ? 'D' : '-', dir->Flags & 4 ? 'A' : '-', dir->Flags & 8 ? 'R' : '-', |