diff options
author | pixel <pixel> | 2003-07-14 18:03:35 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-07-14 18:03:35 +0000 |
commit | ab9481c2c316f7f582d4595af6d97781e9300411 (patch) | |
tree | ec46ac7cc98350592af87eed347ec0ff8611801c | |
parent | 30f218eb43414407ff8fad136ac1b14d419c29b5 (diff) |
Bleeh
-rw-r--r-- | lib/cdutils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/cdutils.cpp b/lib/cdutils.cpp index ff26358..000f7cc 100644 --- a/lib/cdutils.cpp +++ b/lib/cdutils.cpp @@ -325,7 +325,7 @@ void cdutils::write_file(Handle * file, int type, int number) { } void cdutils::show_head_entry(void) { - printm(M_BARE, "Sector - Size - Date - Time - Flags - Name\n"); + printm(M_BARE, "Sector - Size - Date - Time - Flags - Name\n"); } int cdutils::show_entry(struct DirEntry * dir) { @@ -337,8 +337,8 @@ int cdutils::show_entry(struct DirEntry * dir) { strncpy(pbuf, (char *) &(dir->id), dir->N); pbuf[dir->N] = 0; - printm(M_BARE, "%6i - %8i - %2i/%02i/%02i - %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, dir->Hour, dir->Minute, dir->Second, ((float) dir->Offset) / 4, + 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' : '-', dir->Flags & 16 ? 'P' : '-', dir->Flags & 32 ? '1' : '-', dir->Flags & 64 ? '1' : '-', dir->Flags & 128 ? 'C' : '-', pbuf); return dir->R; |