Changeset 762 for trunk/dll/misc.c


Ignore:
Timestamp:
Aug 5, 2007, 1:19:21 AM (18 years ago)
Author:
Steven Levine
Message:

Use two pass logic to free CNRITEMs and ARCITEMs
Rename pszLongname to pszLongName
More compare directories rework
Make directory sizes item draw placement deterministic - how did it ever work?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/misc.c

    r756 r762  
    514514    pfi->flTitle = CFA_CENTER | CFA_FITITLEREADONLY;
    515515    pfi->pTitleData = GetPString(IDS_LNAME);
    516     pfi->offStruct = FIELDOFFSET(CNRITEM, pszLongname);
     516    pfi->offStruct = FIELDOFFSET(CNRITEM, pszLongName);
    517517
    518518    // Store the current pfi value as that will be used to indicate the
     
    740740          return (MRESULT) TRUE;
    741741        }
    742         else if (pfi && pfi->offStruct == FIELDOFFSET(CNRITEM, pszLongname)) {
     742        else if (pfi && pfi->offStruct == FIELDOFFSET(CNRITEM, pszLongName)) {
    743743
    744744          CHAR longname[CCHMAXPATHCOMP];
     
    749749          longname[retlen + 1] = 0;
    750750          //chop_at_crnl(longname);
    751           pci->pszLongname = xrealloc(pci->pszLongname, retlen + 1, pszSrcFile, __LINE__);
     751          pci->pszLongName = xrealloc(pci->pszLongName, retlen + 1, pszSrcFile, __LINE__);
    752752          WinSetWindowText(hwndMLE, longname);
    753753          pci->pszFileName = xrealloc(pci->pszFileName, retlen + 1, pszSrcFile, __LINE__);
Note: See TracChangeset for help on using the changeset viewer.