From 399c2a3f459c9d33e363d06febfc5d918ae8614b Mon Sep 17 00:00:00 2001 From: "seawood%netscape.com" Date: Sat, 16 Feb 2002 02:17:58 +0000 Subject: [PATCH] Fix problem of "invisible" helper apps on OS/2. Thanks to Mike Kaply 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 --- mozilla/nsprpub/pr/src/md/os2/os2misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/nsprpub/pr/src/md/os2/os2misc.c b/mozilla/nsprpub/pr/src/md/os2/os2misc.c index 2c8a9b56da7..2c47a305a89 100644 --- a/mozilla/nsprpub/pr/src/md/os2/os2misc.c +++ b/mozilla/nsprpub/pr/src/md/os2/os2misc.c @@ -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;