Changeset 166
- Timestamp:
- May 26, 2005, 4:43:17 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/flesh.c
r145 r166 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2005 Steven H. Levine9 Copyright (c) 2005 Steven H. Levine 10 10 11 11 24 May 05 SHL Rework Win_Error usage 12 25 May 05 SHL Rework for ProcessDirectory 12 13 13 14 ***********************************************************************/ … … 167 168 168 169 169 BOOL Flesh (HWND hwndCnr,PCNRITEM pciParent) { 170 BOOL Flesh(HWND hwndCnr,PCNRITEM pciParent) 171 { 170 172 171 173 PCNRITEM pciL; 172 174 DIRCNRDATA *dcd; 173 ULONG foundany;174 175 BOOL includefiles = fFilesInTree; 175 176 … … 181 182 MPFROM2SHORT(CMA_FIRSTCHILD, 182 183 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 { 185 188 WinSendMsg(hwndCnr, 186 189 CM_REMOVERECORD, 187 190 MPFROMP(&pciL), 188 191 MPFROM2SHORT(1,CMA_FREE)); 192 } 189 193 dcd = INSTDATA(hwndCnr); 190 if (dcd && dcd->size != sizeof(DIRCNRDATA))194 if (dcd && dcd->size != sizeof(DIRCNRDATA)) 191 195 dcd = NULL; 192 if (driveflags[toupper(*pciParent->szFileName) - 'A'] & DRIVE_INCLUDEFILES)196 if (driveflags[toupper(*pciParent->szFileName) - 'A'] & DRIVE_INCLUDEFILES) 193 197 includefiles = TRUE; 194 198 ProcessDirectory(hwndCnr, … … 200 204 NULL, 201 205 dcd, 202 &foundany); 206 NULL, 207 NULL); 203 208 } 204 209 return TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.