Removed the bogus file-extension-as-image-type text from the title. b=47891 r=dcone sr=buster

This commit is contained in:
attinasi%netscape.com 2001-01-03 23:37:28 +00:00
parent 9f3e15aaf5
commit 5fbed3e0c0
2 changed files with 6 additions and 0 deletions

View File

@ -375,6 +375,7 @@ nsresult nsImageDocument::UpdateTitle( void )
{
nsString titleStr;
#ifdef USE_EXTENSION_FOR_TYPE
// XXX TEMPORARY XXX
// We want to display the image type, however there is no way to right now
// so instead we just get the image-extension
@ -393,6 +394,8 @@ nsresult nsImageDocument::UpdateTitle( void )
}
NS_IF_RELEASE(pURL);
}
#endif
// append the image information...
titleStr.AppendWithConversion( " Image" );
if (mImageRequest) {

View File

@ -375,6 +375,7 @@ nsresult nsImageDocument::UpdateTitle( void )
{
nsString titleStr;
#ifdef USE_EXTENSION_FOR_TYPE
// XXX TEMPORARY XXX
// We want to display the image type, however there is no way to right now
// so instead we just get the image-extension
@ -393,6 +394,8 @@ nsresult nsImageDocument::UpdateTitle( void )
}
NS_IF_RELEASE(pURL);
}
#endif
// append the image information...
titleStr.AppendWithConversion( " Image" );
if (mImageRequest) {