moz-icon://file://C:/foo/bar.exe?size=16
work again.
Bug 233461 r=biesi sr=blizzard
This commit is contained in:
marco%gnome.org 2005-02-04 23:22:57 +00:00
Родитель b116bab5c0
Коммит d97e0de464
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -278,7 +278,7 @@ nsMozIconURI::SetSpec(const nsACString &aSpec)
// and remember the rest in mDummyFilePath // and remember the rest in mDummyFilePath
mDummyFilePath.Cut(0, 2); // cut the first 2 bytes.... 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... // we have a file url.....so store it...
rv = ioService->NewURI(mDummyFilePath, nsnull, nsnull, getter_AddRefs(mFileIcon)); rv = ioService->NewURI(mDummyFilePath, nsnull, nsnull, getter_AddRefs(mFileIcon));