Fixed "ls -s" kilobyte calculation. See PR#48 for details.

This commit is contained in:
stever 1998-06-17 07:00:27 +00:00
parent a43a7e27fd
commit 4bd91df5de
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ DirEntryRecGS *entry;
if (entry->fileType == 0x0F) dirflag = TRUE;
/*if (mult && entry->fileType == 0x0f) continue;*/
afile = TRUE;
if (inK) printf("%4ld ",((entry->eof+entry->resourceEOF)/1024)+1);
if (inK) printf("%4ld ",(entry->eof+entry->resourceEOF+1023)/1024);
/* time = 0 means do mod date, = 1 means do create date */
/*time = (sortRoutine == CompareCreate) ? 1 : 0;*/
if (fl_longOutput) long_out(d->entry_ptrs[i]);