Make uris in the form

moz-icon://file://C:/foo/bar.exe?size=16
work again.
Bug 233461 r=biesi sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@168821 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
marco%gnome.org 2005-02-04 23:22:57 +00:00
parent f419902b1e
commit 3880cea2a5

View File

@ -278,7 +278,7 @@ nsMozIconURI::SetSpec(const nsACString &aSpec)
// and remember the rest in mDummyFilePath
mDummyFilePath.Cut(0, 2); // cut the first 2 bytes....
}
else if (!strncmp("file://", mDummyFilePath.get(), 7))
if (!strncmp("file://", mDummyFilePath.get(), 7))
{
// we have a file url.....so store it...
rv = ioService->NewURI(mDummyFilePath, nsnull, nsnull, getter_AddRefs(mFileIcon));