Fix problem of "invisible" helper apps on OS/2.

Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch.
Bug #125183 r=wtc


git-svn-id: svn://10.0.0.236/branches/NSPRPUB_PRE_4_2_CLIENT_BRANCH@114645 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
seawood%netscape.com
2002-02-16 02:17:58 +00:00
parent 19c2e24e10
commit 399c2a3f45

View File

@@ -384,7 +384,7 @@ PRProcess * _PR_CreateOS2Process(
goto errorExit;
}
if (ulAppType & FAPPTYP_WINDOWAPI) {
if ((ulAppType & FAPPTYP_WINDOWAPI) == FAPPTYP_WINDOWAPI) {
startData.SessionType = SSF_TYPE_PM;
}
else if (ulAppType & FAPPTYP_WINDOWCOMPAT) {
@@ -414,7 +414,7 @@ PRProcess * _PR_CreateOS2Process(
startData.PgmName = pszEXEName;
startData.Length = sizeof(startData);
startData.Related = SSF_RELATED_CHILD;
startData.Related = SSF_RELATED_INDEPENDENT;
startData.ObjectBuffer = pszObjectBuffer;
startData.ObjectBuffLen = CCHMAXPATH;
startData.Environment = envBlock;