Bug 427978: default to using file extension if file used in moz-icon doesn't exist, patch by Jim Mathies <jmathies@mozilla.com>, r=stuart, a=schrep

This commit is contained in:
gavin@gavinsharp.com 2008-04-16 13:16:31 -07:00
parent 349ad7383a
commit 2bc3d7b25e

View File

@ -285,7 +285,7 @@ nsresult nsIconChannel::MakeInputStream(nsIInputStream** _retval, PRBool nonBloc
PRBool fileExists = PR_FALSE;
nsCAutoString filePath;
nsCAutoString filePath(fileExt);
if (localFile)
{
rv = localFile->Normalize();