Changeset 1866 for trunk/dll/worker.c


Ignore:
Timestamp:
Aug 23, 2015, 11:46:30 PM (10 years ago)
Author:
Gregg Young
Message:

Restore the immediate updates of containers on copy and move. This really wasn't the original intent but I made it work this way when I added the recurse code. Removing that code reverted it to delayed update. Since it has had immediate updates for many years now I am keeping that behavior.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/worker.c

    r1863 r1866  
    995995                                GetPString(IDS_TOTEXT), newname);
    996996                      }
    997                       if (!strcmp(realappname, "FM/4") &&
    998                           AddToList(wk->li->list[x],
    999                                     &files, &cFilesModified, &cItemsAllocated))
     997                      if (!strcmp(realappname, "FM/4") || !strcmp(realappname, "FM/3") ||
     998                          AddToList(wk->li->list[x], &files, &cFilesModified,
     999                                    &cItemsAllocated))
    10001000                        Broadcast(hab2,
    10011001                                  wk->li->type == IDM_RENAME ? wk->hwndParent : wk->hwndCnr,
    10021002                                  UM_UPDATERECORD,
    10031003                                  MPFROMP(wk->li->list[x]), MPVOID);
    1004                       if (!strcmp(realappname, "FM/4") &&
    1005                           AddToList(newname, &files, &cFilesModified, &cItemsAllocated))
     1004                      if (!strcmp(realappname, "FM/4") || !strcmp(realappname, "FM/3") ||
     1005                          AddToList(newname, &files, &cFilesModified, &cItemsAllocated))
    10061006                        Broadcast(hab2,
    10071007                                  wk->li->type == IDM_RENAME ? wk->hwndParent : wk->hwndCnr,
Note: See TracChangeset for help on using the changeset viewer.