зеркало из https://github.com/mozilla/gecko-dev.git
fixing os/2 bustage
This commit is contained in:
Родитель
26cdb24398
Коммит
901a8b8a33
|
@ -446,7 +446,7 @@ nsresult nsIconChannel::MakeInputStream(nsIInputStream** _retval, PRBool nonBloc
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
nsCAutoString fileExt;
|
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
|
// If the mime service does not know about this mime type, we show
|
||||||
// the generic icon.
|
// the generic icon.
|
||||||
// In any case, we need to insert a '.' before the extension.
|
// In any case, we need to insert a '.' before the extension.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче