Changeset 2162 for trunk/src


Ignore:
Timestamp:
Dec 20, 1999, 6:54:26 PM (26 years ago)
Author:
achimha
Message:

dirty workaround for crash in customize dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/toolbar.c

    r2126 r2162  
    1 /* $Id: toolbar.c,v 1.19 1999-12-18 20:57:01 achimha Exp $ */
     1/* $Id: toolbar.c,v 1.20 1999-12-20 17:54:26 achimha Exp $ */
    22/*
    33 * Toolbar control
     
    16871687                    ImageList_Draw (infoPtr->himlDef, btnPtr.iBitmap, lpdis->hDC,
    16881688                                    rcButton.left+1, rcButton.top+1, ILD_NORMAL);
    1689 
     1689//AH: TODO: Find out why this happens!!!
     1690if ((infoPtr->strings == NULL) || (infoPtr->strings[btnPtr.iString] == NULL))
     1691  dprintf(("COMCTL32:TOOLBAR:CustomizeDialog - Error drawing string - pointer not found!\n"));
     1692else
    16901693                    DrawTextW (lpdis->hDC,  infoPtr->strings[btnPtr.iString], -1, &rcText,
    16911694                               DT_LEFT | DT_VCENTER | DT_SINGLELINE);
Note: See TracChangeset for help on using the changeset viewer.