Changeset 1363 for trunk/dll/mainwnd.c


Ignore:
Timestamp:
Dec 29, 2008, 8:14:05 PM (17 years ago)
Author:
Gregg Young
Message:

Move the FillInDriveFlags call in init.c to after the ini file is fully initiated since it accesses it; Fix the black toolbar on new install issue (I think I removed the right ini entry to test this) Ticket 328

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mainwnd.c

    r1362 r1363  
    26372637      if (hps) {
    26382638        GpiCreateLogColorTable(hps, 0, LCOLF_RGB, 0, 0, NULL);
    2639         WinQueryPresParam(hwnd, PP_BACKGROUNDCOLOR, 0, NULL,
    2640                           sizeof(lColor), &lColor, 0);
    2641         if (!lColor)
     2639        if (!(WinQueryPresParam(hwnd, PP_BACKGROUNDCOLOR, 0, NULL,
     2640                                sizeof(lColor), &lColor, 0)))
    26422641          lColor = CLR_PALEGRAY;
    26432642        WinQueryWindowRect(hwnd, &rcl);
Note: See TracChangeset for help on using the changeset viewer.