Changeset 1363


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

Location:
trunk/dll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1360 r1363  
    762762  }
    763763
    764   ArgDriveFlags(argc, argv);
    765   FillInDriveFlags(NULL);
    766 
    767764  if (!*profile)
    768765    strcpy(profile, "FM3.INI");
     
    987984    }
    988985  }
     986
     987  ArgDriveFlags(argc, argv);
     988  FillInDriveFlags(NULL);
    989989
    990990  FindSwapperDat();
  • 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.