зеркало из https://github.com/mozilla/pjs.git
Fix bug 240174 ('no running window found' on startup). r+sr=blizzard.
This commit is contained in:
Родитель
ea8e5cb553
Коммит
b148069934
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче