diff options
author | pixel <pixel> | 2003-09-05 23:12:26 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-09-05 23:12:26 +0000 |
commit | 23e2f62a8cc7b92826307fda62676b01d54bf9de (patch) | |
tree | b9f38ad831ec0ef7adbe8bba123b61176d2d762f /lib/cdutils.cpp | |
parent | 343acb603be88ce4e9ac75de1d5ff64c086dfd77 (diff) |
Still some more VC7++ port...
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' : '-', |