Ignore:
Timestamp:
Mar 16, 2002, 8:53:47 AM (23 years ago)
Author:
umoeller
Message:

Misc updates for Unicode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/cctl_checkcnr.c

    r146 r147  
    566566
    567567                    if (lstCountItems(G_pllCnrOwners) == 0)
    568                     {
    569568                        lstFree(&G_pllCnrOwners);
    570                     }
     569
    571570                    DosReleaseMutexSem(G_hmtxCnrOwnersList);
    572571                }
     
    627626            case WM_CONTROL:
    628627            {
    629                 USHORT  usItemID = SHORT1FROMMP(mp1),
    630                         usNotifyCode = SHORT2FROMMP(mp1);
    631 
    632                 if (usItemID == pcbco->usCnrID)
     628                if (SHORT1FROMMP(mp1) == pcbco->usCnrID)
    633629                {
    634                     switch (usNotifyCode)
     630                    switch (SHORT2FROMMP(mp1))
    635631                    {
    636632                        case CN_ENTER:
     
    645641                        }
    646642                        break;
     643
     644                        default:
     645                            mrc = pfnwpOrig(hwndOwner, msg, mp1, mp2);
    647646                    }
    648647                }
    649 
    650                 mrc = pfnwpOrig(hwndOwner, msg, mp1, mp2);
     648                else
     649                    mrc = pfnwpOrig(hwndOwner, msg, mp1, mp2);
    651650            }
    652651            break;
Note: See TracChangeset for help on using the changeset viewer.