From 901a8b8a3393f2e3f6e810d56f914e0c6c6abc05 Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Thu, 15 Apr 2004 22:36:56 +0000 Subject: [PATCH] fixing os/2 bustage --- modules/libpr0n/decoders/icon/os2/nsIconChannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libpr0n/decoders/icon/os2/nsIconChannel.cpp b/modules/libpr0n/decoders/icon/os2/nsIconChannel.cpp index 86148cbe0fec..95ea3b226e96 100644 --- a/modules/libpr0n/decoders/icon/os2/nsIconChannel.cpp +++ b/modules/libpr0n/decoders/icon/os2/nsIconChannel.cpp @@ -446,7 +446,7 @@ nsresult nsIconChannel::MakeInputStream(nsIInputStream** _retval, PRBool nonBloc NS_ENSURE_SUCCESS(rv, rv); nsCAutoString fileExt; - mimeService->GetPrimaryExtension(contentType.get(), EmptyCString(), fileExt); + mimeService->GetPrimaryExtension(contentType, EmptyCString(), fileExt); // If the mime service does not know about this mime type, we show // the generic icon. // In any case, we need to insert a '.' before the extension.