Changeset 1549 for trunk/dll/mainwnd.c


Ignore:
Timestamp:
Oct 25, 2010, 3:08:51 AM (15 years ago)
Author:
Gregg Young
Message:

This "fixes" the double entries in the tree container (Ticket 363); it also means the tree ignores the fSwitchTree* variables on startup. The only remaining problem is on the first focus changes between 2 directory containers the directory doesn't always get placed at the top of the tree container after the first switch to each it seems to work fine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mainwnd.c

    r1546 r1549  
    358358      Runtime_Error(pszSrcFile, __LINE__, "%u unexpected", mp2);
    359359    }
    360     if (fInitialDriveScan) {
    361       fInitialDriveScan = FALSE;
    362       DosPostEventSem(hevInitialCnrScanComplete);
    363       DosCloseEventSem(hevInitialCnrScanComplete);
    364     }
    365360    return 0;
    366361
     
    58055800      load_tools(NULL);
    58065801      PostMsg(hwndToolback, UM_SETUP2, MPVOID, MPVOID);
    5807       if (fInitialDriveScan) {
    5808         fInitialDriveScan = FALSE;
    5809         DosPostEventSem(hevInitialCnrScanComplete);
    5810         DosCloseEventSem(hevInitialCnrScanComplete);
    5811       }
    58125802    }
    58135803    PostMsg(MainObjectHwnd, UM_SETUP4, mp1, mp2);
Note: See TracChangeset for help on using the changeset viewer.