Changeset 176 for trunk/dll/dirsize.c


Ignore:
Timestamp:
May 28, 2005, 7:41:08 PM (20 years ago)
Author:
root
Message:

More large file formatting updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dirsize.c

    r153 r176  
    1616  24 May 05 SHL Rework for CNRITEM.szSubject
    1717  25 May 05 SHL Use ULONGLONG and CommaFmtULL
     18  26 May 05 SHL More large file formatting updates
    1819
    1920***********************************************************************/
     
    255256
    256257  pCI->cbFile = ullCurDirBytes;
    257   pCI->easize = ullSubDirBytes; // hack fixme
     258  pCI->easize = ullSubDirBytes; // hack cough
    258259  WinSendMsg(hwndCnr,CM_INVALIDATERECORD,MPFROMP(&pCI),
    259260             MPFROM2SHORT(1,CMA_ERASE | CMA_TEXTCHANGED));
     
    318319
    319320    pCI->flags = (ULONG)fltPct;
    320     CommaFmtULL(szSubDir,sizeof(szSubDir),pCI->easize,'M');
    321     CommaFmtULL(szAllDir,sizeof(szAllDir),pCI->cbFile + pCI->easize,'M');
     321    CommaFmtULL(szSubDir,sizeof(szSubDir),pCI->easize,'K');
     322    CommaFmtULL(szAllDir,sizeof(szAllDir),pCI->cbFile + pCI->easize,'K');
    322323    sprintf(&pCI->szFileName[strlen(pCI->szFileName)],
    323324            "  %s + %s = %s (%.02lf%%%s)\r%s",
Note: See TracChangeset for help on using the changeset viewer.