Changeset 1916 for trunk/dll/update.c


Ignore:
Timestamp:
Nov 1, 2025, 7:30:47 PM (5 days ago)
Author:
Gregg Young
Message:

Fix easize so that EAs larger than 32767 show their actual size instead of 32767

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/update.c

    r1890 r1916  
    5151#include "misc.h"                       // PostMsg
    5252#include "fortify.h"
     53#include "eas.h"                        // GetLargeEASize
    5354
    5455#ifdef PMPRINTF
     
    142143      if ((!fForceUpper && !fForceLower && strcmp(pci->pszFileName, filename)) ||
    143144          pci->cbFile != ffb.cbFile || pci->attrFile != ffb.attrFile ||
    144           pci->easize != CBLIST_TO_EASIZE(ffb.cbList) || pci->date.day !=
     145          pci->easize != 65535 ? GetLargeEASize(filename) : CBLIST_TO_EASIZE(ffb.cbList) || pci->date.day !=
    145146          ffb.fdateLastWrite.day || pci->date.month != ffb.fdateLastWrite.month ||
    146147          pci->date.year != ffb.fdateLastWrite.year + 1980 || pci->time.seconds !=
     
    405406               strcmp(pci->pszFileName, filename[x])) ||
    406407              pci->cbFile != ffb.cbFile || pci->attrFile != ffb.attrFile ||
    407               pci->easize != CBLIST_TO_EASIZE(ffb.cbList) ||
     408              pci->easize != 65535 ? GetLargeEASize(filename[x]) : CBLIST_TO_EASIZE(ffb.cbList) ||
    408409              pci->date.day != ffb.fdateLastWrite.day ||
    409410              pci->date.month != ffb.fdateLastWrite.month ||
Note: See TracChangeset for help on using the changeset viewer.