зеркало из https://github.com/mozilla/pjs.git
Make uris in the form
moz-icon://file://C:/foo/bar.exe?size=16 work again. Bug 233461 r=biesi sr=blizzard
This commit is contained in:
Родитель
bfe261fc80
Коммит
031e38cf95
|
@ -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));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче