Ignore:
Timestamp:
Nov 24, 2002, 9:45:05 PM (23 years ago)
Author:
umoeller
Message:

Sources as of 1.0.0.

File:
1 edited

Legend:

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

    r222 r229  
    224224    MRESULT mrc = 0;
    225225
    226     PFNWP           pfnwpOrig = NULL;
     226    PFNWP   pfnwpOrig = NULL;
    227227
    228228    if (LockSubclassedTools())
    229229    {
    230         PSUBCLASSEDTOOL pst = FindSubclassedTool(hwndTool);
    231 
    232         if (pst)
     230        PSUBCLASSEDTOOL pst;
     231
     232        if (pst = FindSubclassedTool(hwndTool))
    233233        {
    234234            pfnwpOrig = pst->pfnwpOrig;     // call default
     
    254254                               (MPARAM)0,
    255255                               (MPARAM)&qmsg);
    256                 break; }
     256                }
     257                break;
    257258
    258259                case WM_DESTROY:
    259                     lstRemoveItem(&G_llSubclassedTools, pst);         // this frees the item
     260                    lstRemoveItem(&G_llSubclassedTools, pst);
     261                            // this frees the item
    260262                break;
    261263            }
     
    14661468
    14671469            case WM_PRESPARAMCHANGED:
    1468             {
    1469                 LONG    lPPIndex = (LONG)mp1;
    1470                 switch (lPPIndex)
     1470
     1471                switch ((LONG)mp1)      // pp index
    14711472                {
    14721473                    case 0:     // layout palette thing dropped
     
    14781479                        UpdateTooltipPresColors(hwndTooltip);
    14791480                }
    1480             break; }
     1481
     1482            break;
    14811483
    14821484            /*
     
    19001902                PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1);
    19011903                mrc = (MPARAM)lstCountItems(&pttd->llTools);
    1902             break; }
     1904            }
     1905            break;
    19031906
    19041907            /*
Note: See TracChangeset for help on using the changeset viewer.