Changeset 802


Ignore:
Timestamp:
Aug 23, 2007, 6:04:19 AM (18 years ago)
Author:
Steven Levine
Message:

Disable DbgMsgs shipped with 3.0.8beta1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/treecnr.c

    r793 r802  
    3939  14 Aug 07 SHL Optimze ShowTreeRec collapse - was really slow
    4040  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
     41  22 Aug 07 SHL Disable DbgMsgs shipped with 3.0.8beta1
    4142
    4243***********************************************************************/
     
    163164  }
    164165  WinEnableWindowUpdate(hwndCnr, FALSE);
    165   DbgMsg(pszSrcFile, __LINE__, "finding %s collapse %u maketop %u", dirname, collapsefirst, maketop);   // 14 Aug 07 SHL fixme
     166  // DbgMsg(pszSrcFile, __LINE__, "finding %s collapse %u maketop %u", dirname, collapsefirst, maketop);        // 14 Aug 07 SHL fixme
    166167  pci = FindCnrRecord(hwndCnr, dirname, NULL, TRUE, FALSE, TRUE);
    167168  if (!pci || (INT) pci == -1) {
     
    195196    pci = FindCnrRecord(hwndCnr, dirname, NULL, TRUE, FALSE, TRUE);
    196197  }
    197   DbgMsg(pszSrcFile, __LINE__, "found");        // 14 Aug 07 SHL fixme
     198  // DbgMsg(pszSrcFile, __LINE__, "found");     // 14 Aug 07 SHL fixme
    198199  if (pci && (INT) pci != -1) {
    199200    if (~pci->rc.flRecordAttr & CRA_CURSORED) {
    200201      if (collapsefirst) {
    201         DbgMsg(pszSrcFile, __LINE__, "collapsing");     // 14 Aug 07 SHL fixme
     202        // DbgMsg(pszSrcFile, __LINE__, "collapsing");  // 14 Aug 07 SHL fixme
    202203        pciP = WinSendMsg(hwndCnr,
    203204                          CM_QUERYRECORD,
     
    227228      }
    228229      /* expand all parent branches */
    229       DbgMsg(pszSrcFile, __LINE__, "expanding parents");        // 14 Aug 07 SHL fixme
     230      // DbgMsg(pszSrcFile, __LINE__, "expanding parents");     // 14 Aug 07 SHL fixme
    230231      pciToSelect = pci;
    231232      for (;;) {
     
    246247    /* make record visible */
    247248  MakeTop:
    248     DbgMsg(pszSrcFile, __LINE__, "moving into view");   // 14 Aug 07 SHL fixme
     249    // DbgMsg(pszSrcFile, __LINE__, "moving into view");        // 14 Aug 07 SHL fixme
    249250    pciToSelect = pci;
    250251    if (pciToSelect && (INT) pciToSelect != -1) {
     
    253254      }
    254255      if (fSwitchTreeExpand && ~pciToSelect->rc.flRecordAttr & CRA_EXPANDED) {
    255         DbgMsg(pszSrcFile, __LINE__, "expanding current");      // 14 Aug 07 SHL fixme
     256        // DbgMsg(pszSrcFile, __LINE__, "expanding current");   // 14 Aug 07 SHL fixme
    256257        WinSendMsg(hwndCnr, CM_EXPANDTREE, MPFROMP(pciToSelect), MPVOID);
    257         DbgMsg(pszSrcFile, __LINE__, "expanded");       // 14 Aug 07 SHL fixme
     258        // DbgMsg(pszSrcFile, __LINE__, "expanded");    // 14 Aug 07 SHL fixme
    258259      }
    259260      if (!quickbail) {
     
    265266    }
    266267  }
    267   DbgMsg(pszSrcFile, __LINE__, "done"); // 14 Aug 07 SHL fixme
     268  // DbgMsg(pszSrcFile, __LINE__, "done");      // 14 Aug 07 SHL fixme
    268269  WinEnableWindowUpdate(hwndCnr, TRUE);
    269270  DosSleep(1);                  // Let GUI update
Note: See TracChangeset for help on using the changeset viewer.