From 3759b301559c3af343496f8d75d997869e332582 Mon Sep 17 00:00:00 2001 From: "pnunn%netscape.com" Date: Mon, 28 Jun 1999 21:51:26 +0000 Subject: [PATCH] changed image format list. pnunn. --- layout/html/forms/src/nsFormFrame.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layout/html/forms/src/nsFormFrame.cpp b/layout/html/forms/src/nsFormFrame.cpp index 1493706bcff..cdf53530ef3 100644 --- a/layout/html/forms/src/nsFormFrame.cpp +++ b/layout/html/forms/src/nsFormFrame.cpp @@ -1034,6 +1034,9 @@ void nsFormFrame::Temp_GetContentType(char* aPathName, char* aContentType) (0 == nsCRT::strcasecmp(fileExt, ".jpg"))) { strcpy(aContentType, "image/jpeg"); } + else if (0 == nsCRT::strcasecmp(fileExt, ".art")){ + strcpy(aContentType, "image/x-art"); + } else { // don't bother trying to do the others here strcpy(aContentType, "unknown"); }