Seems the conditional as a parameter was too much for speedracer's little brain.

git-svn-id: svn://10.0.0.236/trunk@65135 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net
2000-04-04 03:31:57 +00:00
parent 87ea73de0b
commit 951aea37ec

View File

@@ -2239,9 +2239,10 @@ NS_IMETHODIMP nsDocShell::InternalLoad(nsIURI* aURI, nsIURI* aReferrer,
NS_ENSURE_SUCCESS(StopCurrentLoads(), NS_ERROR_FAILURE);
NS_ENSURE_SUCCESS(DoURILoad(aURI, (loadLink == aLoadType) ?
nsIURILoader::viewUserClick : nsIURILoader::viewNormal, aWindowTarget),
NS_ERROR_FAILURE);
nsURILoadCommand loadCmd = nsIURILoader::viewNormal;
if(loadLink == aLoadType)
loadCmd = nsIURILoader::viewUserClick;
NS_ENSURE_SUCCESS(DoURILoad(aURI, loadCmd, aWindowTarget), NS_ERROR_FAILURE);
return NS_OK;
}