diff --git a/modules/libpr0n/decoders/icon/nsIconURI.cpp b/modules/libpr0n/decoders/icon/nsIconURI.cpp index 73fd5efca9d7..09fa4ae826a5 100644 --- a/modules/libpr0n/decoders/icon/nsIconURI.cpp +++ b/modules/libpr0n/decoders/icon/nsIconURI.cpp @@ -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));