Changeset 1326 for trunk/dll/update.c
- Timestamp:
- Dec 9, 2008, 3:18:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/update.c
r1318 r1326 189 189 dcd->ullTotalBytes += ullTotalBytes; 190 190 PostMsg(hwndCnr, UM_RESCAN, MPVOID, MPVOID); 191 if (pci->attrFile & FILE_DIRECTORY) 192 Stubby(hwndCnr, pci); 191 if (pci->attrFile & FILE_DIRECTORY) { 192 if (fInitialDriveScan) 193 Stubby(hwndCnr, pci); 194 else { 195 while (StubbyScanCount != 0) 196 DosSleep(50); 197 Stubby(hwndCnr, pci); 198 } 199 } 193 200 } 194 201 } … … 282 289 if (dcd->type == DIR_FRAME) { 283 290 dcd->ullTotalBytes += ullTotalBytes; 284 } 285 Stubby(hwndCnr, pci); 291 } 292 if (fInitialDriveScan) 293 Stubby(hwndCnr, pci); 294 else { 295 while (StubbyScanCount != 0) 296 DosSleep(50); 297 Stubby(hwndCnr, pci); 298 } 286 299 } 287 300 } … … 450 463 } 451 464 repos = TRUE; 452 if (pci->attrFile & FILE_DIRECTORY) 453 Stubby(hwndCnr, pci); 465 if (pci->attrFile & FILE_DIRECTORY) { 466 if (fInitialDriveScan) 467 Stubby(hwndCnr, pci); 468 else { 469 while (StubbyScanCount != 0) 470 DosSleep(50); 471 Stubby(hwndCnr, pci); 472 } 473 } 454 474 } 455 475 else … … 548 568 dcd->ullTotalBytes += ullTotalBytes; 549 569 } 550 repos = TRUE; 551 Stubby(hwndCnr, pci); 570 repos = TRUE; 571 if (fInitialDriveScan) 572 Stubby(hwndCnr, pci); 573 else { 574 while (StubbyScanCount != 0) 575 DosSleep(50); 576 Stubby(hwndCnr, pci); 577 } 552 578 } 553 579 else
Note:
See TracChangeset
for help on using the changeset viewer.