Ignore:
Timestamp:
Jun 1, 2001, 3:13:24 AM (24 years ago)
Author:
phaller
Message:

Removed pre-initializing of icon cache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shell32/iconcache.c

    r5618 r5847  
    1 /* $Id: iconcache.c,v 1.4 2001-04-28 13:33:44 sandervl Exp $ */
     1/* $Id: iconcache.c,v 1.5 2001-06-01 01:13:23 phaller Exp $ */
    22/*
    33 *      shell icon cache (SIC)
     
    784784        index = pDPA_InsertPtr(sic_hdpa, 0x7fff, lpsice);
    785785        if ( INVALID_INDEX == index )
    786         {
     786        {
     787          // 2001-06-01 PH memory leak in WINE
     788          HeapFree(GetProcessHeap(),0,lpsice->sSourceFile);
     789         
    787790          SHFree(lpsice);
    788791          ret = INVALID_INDEX;
     
    917920        ImageList_SetBkColor(ShellSmallIconList, GetSysColor(COLOR_WINDOW));
    918921        ImageList_SetBkColor(ShellBigIconList, GetSysColor(COLOR_WINDOW));
    919 
     922 
     923  /* 2001-06-01 PH pre-initializing the list takes
     924   * a long time. On-demand loading of the icons should
     925   * be sufficient! (7 secs on P133)
     926   *
    920927        for (index=1; index<46; index++)
    921928        {
     
    929936          }
    930937          SIC_IconAppend ("shell32.dll", index, hSm, hLg);
    931         }
     938          }
     939   */
    932940
    933941        TRACE("hIconSmall=%p hIconBig=%p\n",ShellSmallIconList, ShellBigIconList);
Note: See TracChangeset for help on using the changeset viewer.