removing redundant default/ in chrome URI string.

This commit is contained in:
dougt%netscape.com 1999-09-04 00:02:35 +00:00
parent 7d8e5e088a
commit 8fdaa5dc38

View File

@ -1579,7 +1579,7 @@ nsBrowserAppCore::OnStartDocumentLoad(nsIDocumentLoader* aLoader, nsIURI* aURL,
if (chrome)
{
chrome->AppendRelativeUnixPath("netwerk/content/default/");
chrome->AppendRelativeUnixPath("netwerk/content/");
chrome->AppendRelativeUnixPath(scheme);
PRBool exists;
chrome->Exists(&exists);
@ -1588,7 +1588,7 @@ nsBrowserAppCore::OnStartDocumentLoad(nsIDocumentLoader* aLoader, nsIURI* aURL,
{
nsAutoString iconURIString;
iconURIString.SetString("chrome://netwerk/content/default/");
iconURIString.SetString("chrome://netwerk/content/");
iconURIString.Append(scheme);
iconURIString.Append("/working.gif");
@ -1736,7 +1736,7 @@ end:
if (chrome)
{
chrome->AppendRelativeUnixPath("netwerk/content/default/");
chrome->AppendRelativeUnixPath("netwerk/content/");
chrome->AppendRelativeUnixPath(scheme);
PRBool exists;
chrome->Exists(&exists);
@ -1747,7 +1747,7 @@ end:
aUrl->GetScheme(&scheme);
nsAutoString iconURIString;
iconURIString.SetString("chrome://netwerk/content/default/");
iconURIString.SetString("chrome://netwerk/content/");
iconURIString.Append(scheme);
if (NS_SUCCEEDED(aStatus))
iconURIString.Append("/successful.gif");