Changeset 51 for trunk/dll/update.c


Ignore:
Timestamp:
Feb 12, 2003, 9:22:14 PM (23 years ago)
Author:
root
Message:

Standardize EA match

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/update.c

    r2 r51  
     1
     2/***********************************************************************
     3
     4  $Id$
     5
     6  Update Container record/list
     7
     8  Copyright (c) 1993-98 M. Kimes
     9  Copyright (c) 2003 Steven H.Levine
     10
     11  Revisions     12 Feb 03 SHL - Standardize EA math
     12
     13***********************************************************************/
     14
    115#define INCL_DOS
    216#define INCL_WIN
     
    1428
    1529PCNRITEM UpdateCnrRecord (HWND hwndCnr,CHAR *filename,BOOL partial,
    16                           DIRCNRDATA *dcd) {
     30                          DIRCNRDATA *dcd)
     31{
    1732
    1833  PCNRITEM      pci;
     
    91106         strcmp(pci->szFileName,filename)) ||
    92107         pci->cbFile != ffb.cbFile || pci->attrFile != ffb.attrFile ||
    93          pci->easize != ((ffb.cbList > 4L) ? (ffb.cbList / 2) : 0L) ||
     108         pci->easize != CBLIST_TO_EASIZE(ffb.cbList) ||
    94109         pci->date.day != ffb.fdateLastWrite.day ||
    95110         pci->date.month != ffb.fdateLastWrite.month ||
     
    408423
    409424BOOL UpdateCnrList (HWND hwndCnr,CHAR **filename,INT howmany,BOOL partial,
    410                     DIRCNRDATA *dcd) {
     425                    DIRCNRDATA *dcd)
     426{
    411427
    412428  PCNRITEM      pci,*pciList = NULL;
     
    488504           strcmp(pci->szFileName,filename[x])) ||
    489505           pci->cbFile != ffb.cbFile || pci->attrFile != ffb.attrFile ||
    490            pci->easize != ((ffb.cbList > 4L) ? (ffb.cbList / 2) : 0L) ||
     506           pci->easize != CBLIST_TO_EASIZE(ffb.cbList) ||
    491507           pci->date.day != ffb.fdateLastWrite.day ||
    492508           pci->date.month != ffb.fdateLastWrite.month ||
Note: See TracChangeset for help on using the changeset viewer.