Fix bug 240174 ('no running window found' on startup). r+sr=blizzard, a=dbaron.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154854 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2004-04-14 04:48:02 +00:00
parent 133e18288c
commit 6427a8d42b
2 changed files with 6 additions and 0 deletions

View File

@@ -1472,6 +1472,9 @@ static int HandleRemoteArguments(int argc, char* argv[], PRBool *aArgUsed)
}
}
if (!remote)
return 0; // No remote argument == success
// try to get the X remote client
nsCOMPtr<nsIXRemoteClient> client (do_CreateInstance(NS_XREMOTECLIENT_CONTRACTID));
if (!client)

View File

@@ -1469,6 +1469,9 @@ static int HandleRemoteArguments(int argc, char* argv[], PRBool *aArgUsed)
}
}
if (!remote)
return 0; // No remote argument == success
// try to get the X remote client
nsCOMPtr<nsIXRemoteClient> client (do_CreateInstance(NS_XREMOTECLIENT_CONTRACTID));
if (!client)