Changeset 8650 for trunk/src/shell32


Ignore:
Timestamp:
Jun 11, 2002, 6:43:10 PM (23 years ago)
Author:
sandervl
Message:

Ignore name changes for 'My Computer' and other non-file objects (file dialogs)

File:
1 edited

Legend:

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

    r8614 r8650  
    11961196        if (dwFlags & SHGDN_INFOLDER)
    11971197        {
    1198           strcpy(szSrc, This->sMyPath);
     1198#ifdef __WIN32OS2__
     1199          //@PF Block 'My Computer' and other stuff from crashing us
     1200          if (!This->sMyPath) return E_FAIL;
     1201#endif
     1202          strcpy(szSrc, This->sMyPath);
    11991203          PathAddBackslashA(szSrc);
    12001204          len = strlen (szSrc);
     
    12071211
    12081212        /* build destination path */
    1209         strcpy(szDest, This->sMyPath);
     1213        strcpy(szDest, This->sMyPath);
    12101214        PathAddBackslashA(szDest);
    12111215        len = strlen (szDest);
Note: See TracChangeset for help on using the changeset viewer.