add case for unicode flavor, which i guess was forgotten before. now apps that request unicode get unicode. bug# 16267 r=hyatt/pav. thanks to VYV03354@nifty.ne.jp for pointing this out.

This commit is contained in:
pinkerton%netscape.com 1999-10-26 20:33:30 +00:00
Родитель dcfbdbd8cc
Коммит ed6895a1a4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -244,7 +244,7 @@ nsXIFFormatConverter::Convert(const char *aFromDataFlavor, nsISupports *aFromDat
}
}
} // if plain text
else if ( toFlavor.Equals(kHTMLMime) ) {
else if ( toFlavor.Equals(kHTMLMime) || toFlavor.Equals(kUnicodeMime) ) {
if ( NS_SUCCEEDED(ConvertFromXIFToHTML(dataStr, outStr)) ) { //¥¥¥ shouldn't copy
nsCOMPtr<nsISupportsWString> dataWrapper;
nsComponentManager::CreateInstance(NS_SUPPORTS_WSTRING_PROGID, nsnull,