Changeset 1030 for trunk/dll/misc.c


Ignore:
Timestamp:
Jun 26, 2008, 6:59:57 PM (17 years ago)
Author:
Gregg Young
Message:

Reverted changes to details setting loading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/misc.c

    r1028 r1030  
    12361236  strcat(s, ".");
    12371237  eos = &s[strlen(s)];
    1238   strcat(eos, "DetailsLongname");
     1238  strcat(s, "DetailsLongname");
    12391239  if (dcd)
    12401240    bool = &dcd->detailslongname;
     
    12441244  size = sizeof(BOOL);
    12451245  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1246   strcat(eos, "DetailsSubject");
     1246  strcpy(eos, "DetailsSubject");
    12471247  if (dcd)
    12481248    bool = &dcd->detailssubject;
     
    12521252  size = sizeof(BOOL);
    12531253  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1254   strcat(eos, "DetailsEA");
     1254  strcpy(eos, "DetailsEA");
    12551255  if (dcd)
    12561256    bool = &dcd->detailsea;
     
    12601260  size = sizeof(BOOL);
    12611261  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1262   strcat(eos, "DetailsSize");
     1262  strcpy(eos, "DetailsSize");
    12631263  if (dcd)
    12641264    bool = &dcd->detailssize;
     
    12681268  size = sizeof(BOOL);
    12691269  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1270   strcat(eos, "DetailsIcon");
     1270  strcpy(eos, "DetailsIcon");
    12711271  if (dcd)
    12721272    bool = &dcd->detailsicon;
     
    12761276  size = sizeof(BOOL);
    12771277  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1278   strcat(eos, "DetailsAttr");
     1278  strcpy(eos, "DetailsAttr");
    12791279  if (dcd)
    12801280    bool = &dcd->detailsattr;
     
    12841284  size = sizeof(BOOL);
    12851285  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1286   strcat(eos, "DetailsCRDate");
     1286  strcpy(eos, "DetailsCRDate");
    12871287  if (dcd)
    12881288    bool = &dcd->detailscrdate;
     
    12921292  size = sizeof(BOOL);
    12931293  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1294   strcat(eos, "DetailsCRTime");
     1294  strcpy(eos, "DetailsCRTime");
    12951295  if (dcd)
    12961296    bool = &dcd->detailscrtime;
     
    13001300  size = sizeof(BOOL);
    13011301  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1302   strcat(eos, "DetailsLWDate");
     1302  strcpy(eos, "DetailsLWDate");
    13031303  if (dcd)
    13041304    bool = &dcd->detailslwdate;
     
    13081308  size = sizeof(BOOL);
    13091309  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1310   strcat(eos, "DetailsLWTime");
     1310  strcpy(eos, "DetailsLWTime");
    13111311  if (dcd)
    13121312    bool = &dcd->detailslwtime;
     
    13161316  size = sizeof(BOOL);
    13171317  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1318   strcat(eos, "DetailsLADate");
     1318  strcpy(eos, "DetailsLADate");
    13191319  if (dcd)
    13201320    bool = &dcd->detailsladate;
     
    13241324  size = sizeof(BOOL);
    13251325  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1326   strcat(eos, "DetailsLATime");
     1326  strcpy(eos, "DetailsLATime");
    13271327  if (dcd)
    13281328    bool = &dcd->detailslatime;
     
    13321332  size = sizeof(BOOL);
    13331333  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1334   strcat(eos, "SubjectInLeftPane");
     1334  strcpy(eos, "SubjectInLeftPane");
    13351335  if (dcd)
    13361336    bool = &dcd->fSubjectInLeftPane;
     
    13401340  size = sizeof(BOOL);
    13411341  PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);
    1342   strcat(eos, "SubjectLengthMax");
     1342  strcpy(eos, "SubjectLengthMax");
    13431343  if (dcd)
    13441344    bool = &dcd->fSubjectLengthMax;
     
    13521352      dcd->SubjectDisplayWidth = 0;
    13531353    else {
    1354       strcat(eos, "SubjectDisplayWidth");
     1354      strcpy(eos, "SubjectDisplayWidth");
    13551355      bool = &dcd->SubjectDisplayWidth;
    13561356      *bool = SubjectDisplayWidth;
     
    13671367      SubjectDisplayWidth = 0;
    13681368    else {
    1369       strcat(eos, "SubjectDisplayWidth");
     1369      strcpy(eos, "SubjectDisplayWidth");
    13701370      bool = &SubjectDisplayWidth;
    13711371      *bool = SubjectDisplayWidth;
Note: See TracChangeset for help on using the changeset viewer.