зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
dcfbdbd8cc
Коммит
ed6895a1a4
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче