Changeset 1065 for trunk/dll/init.c


Ignore:
Timestamp:
Jul 11, 2008, 6:50:19 PM (17 years ago)
Author:
John Small
Message:

Ticket 230: Simplified code and eliminated some local variables by incorporating
all the details view settings (both the global variables and those in the
DIRCNRDATA struct) into a new struct: DETAILS_SETTINGS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1063 r1065  
    4646                keys using a "DirCnr." prefix
    4747  20 Apr 08 GKY Change default cmd line length to 1024 Ask once if user wants to reset it.
     48  11 Jul 08 JBS Ticket 230: Simplified code and eliminated some local variables by incorporating
     49                all the details view settings (both the global variables and those in the
     50                DIRCNRDATA struct) into a new struct: DETAILS_SETTINGS.
    4851
    4952***********************************************************************/
     
    958961   * to 0)
    959962   */
    960   detailssize = detailsea = detailslwdate = detailslwtime = detailsattr =
    961     detailsicon = fAutoTile = fConfirmDelete = fLoadSubject = fUnHilite =
     963  dsDirCnrDefault.detailssize = dsDirCnrDefault.detailsea = dsDirCnrDefault.detailslwdate =
     964    dsDirCnrDefault.detailslwtime = dsDirCnrDefault.detailsattr = dsDirCnrDefault.detailsicon =
     965    fAutoTile = fConfirmDelete = fLoadSubject = fUnHilite =
    962966    fLoadLongnames = fToolbar = fSaveState = fGuessType = fToolbarHelp =
    963967    fAutoAddDirs = fUseNewViewer = fDataToFore = fDataShowDrives =
     
    13651369  PrfQueryProfileData(fmprof, FM3Str, "TrashCan", &fTrashCan, &size);
    13661370
    1367   LoadDetailsSwitches("DirCnr", NULL);
     1371  LoadDetailsSwitches("DirCnr", &dsDirCnrDefault);
    13681372
    13691373  /* load pointers and icons we use */
Note: See TracChangeset for help on using the changeset viewer.