Changeset 762 for trunk/dll/select.c
- Timestamp:
- Aug 5, 2007, 1:19:21 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/select.c
r751 r762 21 21 14 Jun 07 SHL SelectAll: make odd expression go away 22 22 02 Aug 07 SHL Sync with CNRITEM mods 23 04 Aug 07 SHL Use Runtime_Error 23 24 24 25 ***********************************************************************/ … … 574 575 #pragma alloc_text(SELECT4,FreeCnrs,SpecialSelect2,CompSSNames,CompSSNamesB) 575 576 577 /** 578 * Do select actions for compare directories containers 579 * 580 */ 581 576 582 VOID SpecialSelect(HWND hwndCnrS, HWND hwndCnrD, INT action, BOOL reset) 577 583 { … … 582 588 583 589 584 if (!hwndCnrS || !hwndCnrD) 590 if (!hwndCnrS || !hwndCnrD) { 591 Runtime_Error(pszSrcFile, __LINE__, "hwndCnrS %p hwndCnrD %p", hwndCnrS, hwndCnrD); 585 592 return; 593 } 586 594 587 595 memset(&cnri, 0, sizeof(CNRINFO)); … … 596 604 numS = (INT) cnri.cRecords; 597 605 if (!numD || numS != numD) { 598 saymsg(MB_ENTER, 599 HWND_DESKTOP, 600 DEBUG_STRING, "numD (%lu) != numS (%lu)", numD, numS); 606 Runtime_Error(pszSrcFile, __LINE__, "numD %u != numS %u", numD, numS); 601 607 return; 602 608 } … … 630 636 MPFROM2SHORT(CMA_NEXT, CMA_ITEMORDER)); 631 637 if (!(x % 500)) 632 DosSleep(1 L);638 DosSleep(1); 633 639 else if (!(x % 50)) 634 640 DosSleep(1); 635 } 641 } // while 642 636 643 if (numD != x) { 637 644 if (!slow) { … … 641 648 free(pciDa); 642 649 free(pciSa); 643 saymsg(MB_ENTER, 644 HWND_DESKTOP, DEBUG_STRING, "numD (%lu) != x (%lu)", numD, x); 650 Runtime_Error(pszSrcFile, __LINE__, "numD %u != x %lu", numD, x); 645 651 return; 646 652 } … … 660 666 MPFROM2SHORT(CMA_NEXT, CMA_ITEMORDER)); 661 667 if (!(x % 500)) 662 DosSleep(1 L);668 DosSleep(1); 663 669 else if (!(x % 50)) 664 670 DosSleep(1); 665 } 671 } // while 672 666 673 if (numS != x) { 667 674 if (!slow) { … … 725 732 } 726 733 if (!(x % 500)) 727 DosSleep(1 L);734 DosSleep(1); 728 735 else if (!(x % 50)) 729 736 DosSleep(1); … … 1186 1193 DosPostEventSem(CompactSem); 1187 1194 } 1195 1196 /** 1197 * Do select actions for single container 1198 * 1199 */ 1188 1200 1189 1201 VOID SpecialSelect2(HWND hwndParent, INT action)
Note:
See TracChangeset
for help on using the changeset viewer.