Changeset 1650
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/flesh.c
r1649 r1650 192 192 MPFROMP(pciParent), 193 193 MPFROM2SHORT(CMA_FIRSTCHILD, CMA_ITEMORDER)); 194 if (pciL && (INT) pciL != -1 &&* pciL->pszFileName) //{ 195 UnFlesh( hwndCnr, pciParent); 196 //if (pciL && (INT) pciL != -1) 197 // RemoveCnrItems(hwndCnr, pciL, 1, CMA_FREE); 198 dcd = INSTDATA(hwndCnr); 199 if (dcd && dcd->size != sizeof(DIRCNRDATA)) 200 dcd = NULL; 201 if (driveflags[toupper(*pciParent->pszFileName) - 'A'] & 202 DRIVE_INCLUDEFILES) 203 includefiles = TRUE; 204 #if 0 205 if (fInitialDriveScan) { 206 PROCESSDIR *ProcessDir; 207 208 ProcessDir = xmallocz(sizeof(PROCESSDIR), pszSrcFile, __LINE__); 209 if (!ProcessDir) 210 return FALSE; 211 ProcessDir->hwndCnr = hwndCnr; 212 ProcessDir->pciParent = pciParent; 213 ProcessDir->szDirBase = pciParent->pszFileName; 214 ProcessDir->filestoo = includefiles; 215 ProcessDir->recurse = TRUE; 216 ProcessDir->partial = TRUE; 217 ProcessDir->stopflag = NULL; 218 ProcessDir->dcd = dcd; 219 ProcessDir->pulTotalFiles = NULL; 220 ProcessDir->pullTotalBytes = NULL; 221 222 if (xbeginthread(ProcessDirectoryThread, 223 65536, 224 ProcessDir, 225 pszSrcFile, 226 __LINE__) == -1) 227 { 228 xfree(ProcessDir, pszSrcFile, __LINE__); 229 } 230 } 231 else { 232 # endif 233 ProcessDirectory(hwndCnr, 234 pciParent, 235 pciParent->pszFileName, 236 includefiles, // filestoo 237 TRUE, // recurse 238 TRUE, // partial 239 NULL, // stop flag 240 dcd, 241 NULL, // total files 242 NULL); // total bytes 243 #if 0 244 } 245 #endif 246 driveflags[*pciParent->pszFileName - 'A'] |= DRIVE_RSCANNED; 247 //} 194 if (pciL && (INT) pciL != -1 && *pciL->pszFileName) 195 return FALSE; 196 dcd = INSTDATA(hwndCnr); 197 if (dcd && dcd->size != sizeof(DIRCNRDATA)) 198 dcd = NULL; 199 if (driveflags[toupper(*pciParent->pszFileName) - 'A'] & 200 DRIVE_INCLUDEFILES) 201 includefiles = TRUE; 202 ProcessDirectory(hwndCnr, 203 pciParent, 204 pciParent->pszFileName, 205 includefiles, // filestoo 206 TRUE, // recurse 207 TRUE, // partial 208 NULL, // stop flag 209 dcd, 210 NULL, // total files 211 NULL); // total bytes 212 driveflags[*pciParent->pszFileName - 'A'] |= DRIVE_RSCANNED; 248 213 return TRUE; 249 214 } -
trunk/dll/treecnr.c
r1572 r1650 3126 3126 if (apphead) { 3127 3127 APPNOTIFY *info, *next; 3128 3128 3129 info = apphead; 3129 3130 while (info) { … … 3140 3141 } // switch 3141 3142 if (dcd && dcd->oldproc){ 3142 return dcd->oldproc(hwnd, msg, mp1, mp2);3143 return dcd->oldproc(hwnd, msg, mp1, mp2); 3143 3144 } 3144 3145 else 3145 return PFNWPCnr(hwnd, msg, mp1, mp2);3146 return PFNWPCnr(hwnd, msg, mp1, mp2); 3146 3147 } 3147 3148
Note:
See TracChangeset
for help on using the changeset viewer.
