Changeset 1083 for trunk/dll/init.c

Show
Ignore:
Timestamp:
07/20/08 17:31:07 (4 months ago)
Author:
jbs
Message:

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

Files:
1 modified

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);