Changeset 707


Ignore:
Timestamp:
Jun 24, 2007, 8:33:29 PM (13 years ago)
Author:
Gregg Young
Message:

Changed again since both WORKPLACE_PROCESS (2.0 beta) and WORKPLACEPROCESS (1.2) are used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r705 r707  
    630630  /* are we the workplace shell? */
    631631  env = getenv("WORKPLACE_PROCESS");
    632   if (!env || stricmp(env, "YES"))
    633     fWorkPlace = TRUE;
    634 
     632  if (!env){
     633    env = getenv("WORKPLACE__PROCESS");
     634    if (!env || stricmp(env, "YES"))
     635      fWorkPlace = TRUE;
     636  }
     637  else{
     638    if (stricmp(env, "YES"))
     639      fWorkPlace = TRUE;
     640  }
    635641  if ((!strchr(profile, '\\') && !strchr(profile, ':')) ||
    636642      !(fmprof = PrfOpenProfile((HAB) 0, profile))) {
Note: See TracChangeset for help on using the changeset viewer.