Changeset 1434 for trunk/dll/init.c


Ignore:
Timestamp:
Jun 23, 2009, 12:52:05 AM (16 years ago)
Author:
Gregg Young
Message:

Update show label or FS in tree to initialize as driveonly and fixed typo which caused rescan to fail after the value was changed. Renamed some variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1431 r1434  
    13141314  PrfQueryProfileData(fmprof, FM3Str, "ShowDriveOnly", &fShowDriveOnly, &size);
    13151315  size = sizeof(BOOL);
    1316   PrfQueryProfileData(fmprof, FM3Str, "ShowSysType", &fShowSysType, &size);
    1317   size = sizeof(BOOL);
    1318   PrfQueryProfileData(fmprof, FM3Str, "ShowLabel", &fShowLabel, &size);
     1316  PrfQueryProfileData(fmprof, FM3Str, "ShowFSTypeInTree", &fShowFSTypeInTree, &size);
     1317  size = sizeof(BOOL);
     1318  PrfQueryProfileData(fmprof, FM3Str, "ShowDriveLabelInTree", &fShowDriveLabelInTree, &size);
     1319  if (!fShowDriveOnly && !fShowFSTypeInTree && !fShowDriveLabelInTree)
     1320    fShowDriveOnly = TRUE;
    13191321  size = sizeof(BOOL);
    13201322  PrfQueryProfileData(fmprof, appname, "LeaveTree", &fLeaveTree, &size);
Note: See TracChangeset for help on using the changeset viewer.