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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user