Changeset 147 for trunk/src/helpers/cctl_checkcnr.c
- Timestamp:
- Mar 16, 2002, 8:53:47 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/cctl_checkcnr.c
r146 r147 566 566 567 567 if (lstCountItems(G_pllCnrOwners) == 0) 568 {569 568 lstFree(&G_pllCnrOwners); 570 } 569 571 570 DosReleaseMutexSem(G_hmtxCnrOwnersList); 572 571 } … … 627 626 case WM_CONTROL: 628 627 { 629 USHORT usItemID = SHORT1FROMMP(mp1), 630 usNotifyCode = SHORT2FROMMP(mp1); 631 632 if (usItemID == pcbco->usCnrID) 628 if (SHORT1FROMMP(mp1) == pcbco->usCnrID) 633 629 { 634 switch ( usNotifyCode)630 switch (SHORT2FROMMP(mp1)) 635 631 { 636 632 case CN_ENTER: … … 645 641 } 646 642 break; 643 644 default: 645 mrc = pfnwpOrig(hwndOwner, msg, mp1, mp2); 647 646 } 648 647 } 649 650 mrc = pfnwpOrig(hwndOwner, msg, mp1, mp2);648 else 649 mrc = pfnwpOrig(hwndOwner, msg, mp1, mp2); 651 650 } 652 651 break;
Note:
See TracChangeset
for help on using the changeset viewer.