Changeset 1552


Ignore:
Timestamp:
Nov 16, 2010, 4:24:54 AM (15 years ago)
Author:
Gregg Young
Message:

Fixes a crash that occurs if you are quick enough to start a tree scan before the current scan is complete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/treecnr.c

    r1551 r1552  
    771771      if (cnri.cRecords) {
    772772        sprintf(s, GetPString(IDS_NUMDRIVESTEXT), cnri.cRecords);
    773         if (pci && pci->pszFileName) {
     773        if (pci && pci->pszFileName && *pci->pszFileName) {
    774774          if (!(driveflags[toupper(*pci->pszFileName) - 'A'] &
    775775                DRIVE_REMOVABLE) ||
     
    11841184
    11851185  case UM_RESCAN:
     1186
    11861187    if (dcd && dcd->hwndFrame == WinQueryActiveWindow(dcd->hwndParent)) {
    11871188      /*
Note: See TracChangeset for help on using the changeset viewer.