prepare for image copying r=saari, sr=sfraser

This commit is contained in:
pinkerton%netscape.com 2001-01-23 00:48:53 +00:00
parent f345008beb
commit ad1f41e511

View File

@ -79,8 +79,14 @@ nsMimeMapperMac :: MapMimeTypeToMacOSType ( const char* aMimeStr, PRBool inAddIf
if ( !format ) {
if ( PL_strcmp(aMimeStr, kTextMime) == 0 )
format = 'TEXT';
if ( PL_strcmp(aMimeStr, kFileMime) == 0 )
else if ( PL_strcmp(aMimeStr, kFileMime) == 0 )
format = flavorTypeHFS;
else if ( PL_strcmp(aMimeStr, kPNGImageMime) == 0 )
format = 'PICT';
else if ( PL_strcmp(aMimeStr, kJPEGImageMime) == 0 )
format = 'PICT';
else if ( PL_strcmp(aMimeStr, kGIFImageMime) == 0 )
format = 'PICT';
else if ( inAddIfNotPresent ) {
// create the flavor based on the unique id in the lower two bytes and 'MZ' in the