Changeset 1551 for trunk/dll/dircnrs.c


Ignore:
Timestamp:
Nov 15, 2010, 4:33:25 AM (15 years ago)
Author:
Gregg Young
Message:

This code adds the semaphores to prevent a rescan from starting before the current one is finished; it fixes the double directory listing in the tree container and streamlines scanning. It update mapsym.pl to the latest version. Some code cleanup is included

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dircnrs.c

    r1549 r1551  
    13861386      LastDir = hwnd;
    13871387      PostMsg(hwnd, UM_RESCAN, MPVOID, MPVOID);
    1388       if (!fInitialDriveScan && fSwitchTreeOnFocus && hwndTree && dcd && *dcd->directory) {
    1389         PSZ pszTempDir = xstrdup(dcd->directory, pszSrcFile, __LINE__);
    1390         if (pszTempDir) {
     1388      if (fSwitchTreeOnFocus && hwndTree && dcd && *dcd->directory) {
     1389        PSZ pszTempDir = xstrdup(dcd->directory, pszSrcFile, __LINE__);
     1390        if (pszTempDir) {
    13911391          if (!PostMsg(hwndTree, UM_SHOWME, MPFROMP(pszTempDir), MPVOID))
    13921392            free(pszTempDir);           // Failed
Note: See TracChangeset for help on using the changeset viewer.