Changeset 718
- Timestamp:
- Jul 3, 2007, 12:07:15 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/init.c
r710 r718 25 25 15 Jun 07 SHL Make OpenWatcom compatible 26 26 23 Jun 07 GKY Fix WORPLACE_PROCESS enviroment check logic 27 28 Jun 07 SHL Rework WORKPLACE_PROCESS check to match reality 27 28 28 29 ***********************************************************************/ … … 628 629 return FALSE; 629 630 630 /* are we the workplace shell? */631 /* Are we the workplace shell? */ 631 632 env = getenv("WORKPLACE_PROCESS"); 632 if (!env){ 633 env = getenv("WORKPLACE__PROCESS"); 634 if (!env || stricmp(env, "NO")) 635 fWorkPlace = TRUE; 636 } 637 else{ 638 if (stricmp(env, "YES")) 639 fWorkPlace = TRUE; 640 } 633 fWorkPlace = env != NULL && 634 (stricmp(env, "YES") == 0 || atoi(env) == 1); 635 641 636 if ((!strchr(profile, '\\') && !strchr(profile, ':')) || 642 637 !(fmprof = PrfOpenProfile((HAB) 0, profile))) {
Note:
See TracChangeset
for help on using the changeset viewer.