Changeset 5861 for trunk/src


Ignore:
Timestamp:
Jun 1, 2001, 10:22:10 AM (24 years ago)
Author:
sandervl
Message:

ifdefs added

Location:
trunk/src/shell32
Files:
2 edited

Legend:

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

    r5847 r5861  
    1 /* $Id: iconcache.c,v 1.5 2001-06-01 01:13:23 phaller Exp $ */
     1/* $Id: iconcache.c,v 1.6 2001-06-01 08:22:09 sandervl Exp $ */
    22/*
    33 *      shell icon cache (SIC)
     
    785785        if ( INVALID_INDEX == index )
    786786        {
     787#ifdef __WIN32OS2__
    787788          // 2001-06-01 PH memory leak in WINE
    788789          HeapFree(GetProcessHeap(),0,lpsice->sSourceFile);
    789          
     790#endif         
    790791          SHFree(lpsice);
    791792          ret = INVALID_INDEX;
     
    920921        ImageList_SetBkColor(ShellSmallIconList, GetSysColor(COLOR_WINDOW));
    921922        ImageList_SetBkColor(ShellBigIconList, GetSysColor(COLOR_WINDOW));
    922  
     923
     924#ifndef __WIN32OS2__ 
    923925  /* 2001-06-01 PH pre-initializing the list takes
    924926   * a long time. On-demand loading of the icons should
    925927   * be sufficient! (7 secs on P133)
    926    *
     928   */
    927929        for (index=1; index<46; index++)
    928930        {
     
    937939          SIC_IconAppend ("shell32.dll", index, hSm, hLg);
    938940          }
    939    */
     941#endif
    940942
    941943        TRACE("hIconSmall=%p hIconBig=%p\n",ShellSmallIconList, ShellBigIconList);
  • trunk/src/shell32/shell32_main.c

    r5852 r5861  
    1 /* $Id: shell32_main.c,v 1.4 2001-06-01 01:46:30 phaller Exp $ */
     1/* $Id: shell32_main.c,v 1.5 2001-06-01 08:22:10 sandervl Exp $ */
    22/*
    33 *                              Shell basics
     
    893893        switch (fdwReason)
    894894        {
    895         case DLL_PROCESS_ATTACH:
    896          
     895          case DLL_PROCESS_ATTACH:
    897896            shell32_RefCount++;
    898897            if (shell32_hInstance) return TRUE;
     
    914913            /* initialize the common controls */
    915914            InitCommonControlsEx(NULL);
    916          
     915
    917916            SIC_Initialize();
    918917            SYSTRAY_Init();
Note: See TracChangeset for help on using the changeset viewer.