Changeset 1876 for trunk/dll/update.c


Ignore:
Timestamp:
Oct 11, 2015, 1:42:28 AM (10 years ago)
Author:
Gregg Young
Message:

Eliminate some unnecessary Flesh and UnFlesh calls.Update icon and display name on CD/DVD eject in all cases.
Don't use Flesh thread for floppy drive scans fix them getting mistakenly identified as directories and add nonexistent subdirectories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/update.c

    r1856 r1876  
    2222  22 Jul 09 GKY Code changes to use semaphores to serialize drive scanning
    2323  07 Aug 15 SHL Sync with Flesh/Stubby mods
    24 
     24  10 Oct 15 GKY Eliminate some unnecessary Flesh and UnFlesh calls
    2525
    2626***********************************************************************/
     
    245245                if (WinSendMsg(hwndCnr,
    246246                               CM_INSERTRECORD, MPFROMP(pci), MPFROMP(&ri))) {
    247                   AddFleshWorkRequest(hwndCnr, pci, eFlesh);
     247                  if (!pci->fleshed)
     248                    AddFleshWorkRequest(hwndCnr, pci, eFlesh);
    248249                  *p = temp;
    249250                  pci = FindCnrRecord(hwndCnr,
     
    256257            else {
    257258              pciParent = pciT;
    258               if (!(pciT->rc.flRecordAttr & CRA_EXPANDED)) {
    259                 AddFleshWorkRequest(hwndCnr, pciT, eFlesh);
     259              if (!(pciT->rc.flRecordAttr & CRA_EXPANDED)) {
     260                if (!pciT->fleshed)
     261                  AddFleshWorkRequest(hwndCnr, pciT, eFlesh);
    260262                *p = temp;
    261263                pci = FindCnrRecord(hwndCnr,
Note: See TracChangeset for help on using the changeset viewer.