Changeset 766 for trunk/dll/walkem.c
- Timestamp:
- Aug 5, 2007, 10:21:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/walkem.c
r617 r766 366 366 HDIR hDir = HDIR_CREATE; 367 367 SHORT sDrive; 368 ULONG ulDriveNum, ulSearchCount = 1 L, ulDriveMap;368 ULONG ulDriveNum, ulSearchCount = 1, ulDriveMap; 369 369 370 370 DosError(FERR_DISABLEHARDERR); … … 378 378 // Fill drive listbox 379 379 for (sDrive = 0; sDrive < 26; sDrive++) { 380 if (ulDriveMap & (1 L<< sDrive)) {380 if (ulDriveMap & (1 << sDrive)) { 381 381 *szDrive = (CHAR) (sDrive + 'A'); 382 382 if ((!nounwriteable || !(driveflags[sDrive] & DRIVE_NOTWRITEABLE)) && … … 420 420 } 421 421 } 422 ulSearchCount = 1 L;422 ulSearchCount = 1; 423 423 } while (!DosFindNext(hDir, 424 424 &findbuf, sizeof(FILEFINDBUF3), &ulSearchCount)); … … 508 508 QSV_BOOT_DRIVE, 509 509 (PVOID) & bd, (ULONG) sizeof(ULONG))) 510 bd = 3 L;510 bd = 3; 511 511 *wa->szCurrentPath = (CHAR) bd + '@'; 512 512 } … … 534 534 DosError(FERR_DISABLEHARDERR); 535 535 hDir = HDIR_CREATE; 536 ulSearchCount = 1 L;536 ulSearchCount = 1; 537 537 if (!IsRoot(info->path)) 538 538 rc = DosFindFirst(info->path, &hDir, FILE_DIRECTORY | … … 559 559 } 560 560 } 561 else if (!(ulDriveMap & (1 L<< (toupper(*info->path) - 'A')))) {561 else if (!(ulDriveMap & (1 << (toupper(*info->path) - 'A')))) { 562 562 temp = info->next; 563 563 remove_udir(info->path); … … 575 575 DosError(FERR_DISABLEHARDERR); 576 576 hDir = HDIR_CREATE; 577 ulSearchCount = 1 L;577 ulSearchCount = 1; 578 578 if (!IsRoot(info->path)) 579 579 rc = DosFindFirst(info->path, &hDir, FILE_DIRECTORY | … … 602 602 GetPString(IDS_WALKRECENTDIRSTEXT)); 603 603 } 604 else if (!(ulDriveMap & (1 L<< (toupper(*info->path) - 'A')))) {604 else if (!(ulDriveMap & (1 << (toupper(*info->path) - 'A')))) { 605 605 temp = info->next; 606 606 remove_ldir(info->path); … … 726 726 DosError(FERR_DISABLEHARDERR); 727 727 hDir = HDIR_CREATE; 728 ulSearchCount = 1 L;728 ulSearchCount = 1; 729 729 if (!IsRoot(szBuffer)) { 730 730 rc = DosFindFirst(szBuffer, &hDir, FILE_DIRECTORY | … … 772 772 DosError(FERR_DISABLEHARDERR); 773 773 hDir = HDIR_CREATE; 774 ulSearchCount = 1 L;774 ulSearchCount = 1; 775 775 if (!IsRoot(szBuffer)) { 776 776 rc = DosFindFirst(szBuffer, … … 855 855 DosError(FERR_DISABLEHARDERR); 856 856 hDir = HDIR_CREATE; 857 ulSearchCount = 1 L;857 ulSearchCount = 1; 858 858 if (!IsRoot(szBuff)) { 859 859 rc = DosFindFirst(szBuff, … … 1218 1218 DosError(FERR_DISABLEHARDERR); 1219 1219 hDir = HDIR_CREATE; 1220 ulSearchCount = 1 L;1220 ulSearchCount = 1; 1221 1221 if (!IsRoot(szBuff)) { 1222 1222 rc = DosFindFirst(szBuff, … … 1283 1283 DosError(FERR_DISABLEHARDERR); 1284 1284 hDir = HDIR_CREATE; 1285 ulSearchCount = 1 L;1285 ulSearchCount = 1; 1286 1286 if (!IsRoot(szBuff)) { 1287 1287 rc = DosFindFirst(szBuff,
Note:
See TracChangeset
for help on using the changeset viewer.