Changeset 1083 for trunk/dll/init.c


Ignore:
Timestamp:
Jul 20, 2008, 5:31:07 PM (17 years ago)
Author:
John Small
Message:

Ticket 114: Support user-selectable env. strings in Tree container.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1082 r1083  
    5252  17 Jul 08 SHL Reduce code bulk in fUseTmp setup
    5353  19 Jul 08 GKY Use pFM2SaveDirectory, MakeTempName and move temp files to TMP subdirectory if (TMP).
     54  20 Jul 08 JBS Ticket 114: Support user-selectable env. strings in Tree container.
    5455
    5556***********************************************************************/
     
    10851086  if (!mailrun)
    10861087    return 0; //already complained
     1088  pszTreeEnvVarList = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__);
     1089  if (!pszTreeEnvVarList)
     1090    return 0; //already complained
    10871091  size = sizeof(BOOL);
    10881092  PrfQueryProfileData(fmprof, appname, "ShowTarget", &fShowTarget, &size);
     
    11761180  size = sizeof(BOOL);
    11771181  PrfQueryProfileData(fmprof, appname, "ShowEnv", &fShowEnv, &size);
     1182  size = MaxComLineStrg;
     1183  PrfQueryProfileData(fmprof, appname, "TreeEnvVarList", pszTreeEnvVarList, &size);
    11781184  size = sizeof(BOOL);
    11791185  PrfQueryProfileData(fmprof, appname, "LeaveTree", &fLeaveTree, &size);
Note: See TracChangeset for help on using the changeset viewer.