Changeset 166


Ignore:
Timestamp:
May 26, 2005, 4:43:17 AM (20 years ago)
Author:
root
Message:

Rework for ProcessDirectory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/flesh.c

    r145 r166  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2005 Steven H.Levine
     9  Copyright (c) 2005 Steven H. Levine
    1010
    1111  24 May 05 SHL Rework Win_Error usage
     12  25 May 05 SHL Rework for ProcessDirectory
    1213
    1314***********************************************************************/
     
    167168
    168169
    169 BOOL Flesh (HWND hwndCnr,PCNRITEM pciParent) {
     170BOOL Flesh(HWND hwndCnr,PCNRITEM pciParent)
     171{
    170172
    171173  PCNRITEM    pciL;
    172174  DIRCNRDATA *dcd;
    173   ULONG       foundany;
    174175  BOOL        includefiles = fFilesInTree;
    175176
     
    181182                              MPFROM2SHORT(CMA_FIRSTCHILD,
    182183                                           CMA_ITEMORDER));
    183   if(!pciL || !*pciL->szFileName) {
    184     if(pciL && (INT)pciL != -1)
     184  if (!pciL || !*pciL->szFileName)
     185  {
     186    if (pciL && (INT)pciL != -1)
     187    {
    185188      WinSendMsg(hwndCnr,
    186189                 CM_REMOVERECORD,
    187190                 MPFROMP(&pciL),
    188191                 MPFROM2SHORT(1,CMA_FREE));
     192    }
    189193    dcd = INSTDATA(hwndCnr);
    190     if(dcd && dcd->size != sizeof(DIRCNRDATA))
     194    if (dcd && dcd->size != sizeof(DIRCNRDATA))
    191195      dcd = NULL;
    192     if(driveflags[toupper(*pciParent->szFileName) - 'A'] & DRIVE_INCLUDEFILES)
     196    if (driveflags[toupper(*pciParent->szFileName) - 'A'] & DRIVE_INCLUDEFILES)
    193197      includefiles = TRUE;
    194198    ProcessDirectory(hwndCnr,
     
    200204                     NULL,
    201205                     dcd,
    202                      &foundany);
     206                     NULL,
     207                     NULL);
    203208  }
    204209  return TRUE;
Note: See TracChangeset for help on using the changeset viewer.