Changeset 386 for trunk/dll/treecnr.c


Ignore:
Timestamp:
Jul 27, 2006, 8:10:02 PM (19 years ago)
Author:
root
Message:

Drop extra Runtime_Error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/treecnr.c

    r377 r386  
    686686      if (!dcd)
    687687        Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
    688       else if (!hwndStatus)
    689         Runtime_Error2(pszSrcFile, __LINE__, IDS_NOWINDOWTEXT);
    690       else if (dcd->hwndFrame == WinQueryActiveWindow(dcd->hwndParent)) {
     688      // Bypass if not running integrated (i.e if vtree)
     689      else if (hwndStatus &&
     690               dcd->hwndFrame == WinQueryActiveWindow(dcd->hwndParent)) {
    691691        CHAR      s[CCHMAXPATH * 2];
    692692        PCNRITEM   pci = (PCNRITEM)mp1;
Note: See TracChangeset for help on using the changeset viewer.