Changeset 981 for trunk/dll/dircnrs.c


Ignore:
Timestamp:
Feb 25, 2008, 1:25:14 AM (17 years ago)
Author:
John Small
Message:

Changes to fix problems with default presparams introduced as part
of tickets 150 and 230.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dircnrs.c

    r978 r981  
    14281428        CNRINFO cnri;
    14291429
    1430         RestorePresParams(hwnd, "DirCnr");
    14311430        memset(&cnri, 0, sizeof(CNRINFO));
    14321431        cnri.cb = sizeof(CNRINFO);
     
    15101509  case UM_SETUP2:
    15111510    if (dcd)
    1512     {
    15131511      AdjustCnrColsForPref(hwnd, NULL, dcd, FALSE);
    1514     }
    1515     else {
     1512    else
    15161513      PostMsg(hwnd, WM_CLOSE, MPVOID, MPVOID);
    1517       return 0;
    1518     }
    15191514    return 0;
    15201515
     
    34693464        }
    34703465        else {
     3466          RestorePresParams(dcd->hwndCnr, "DirCnr");
    34713467          WinSetWindowPtr(dcd->hwndCnr, QWL_USER, (PVOID) dcd);
    34723468          dcd->oldproc = WinSubclassWindow(dcd->hwndCnr,
Note: See TracChangeset for help on using the changeset viewer.