mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
fix regression in opening .eml files, and any other file extension whose content type is specified in windows registry, 240942, r/sr=bsbarsky
This commit is contained in:
parent
c40b54ea5d
commit
ea017a1019
@ -354,7 +354,7 @@ already_AddRefed<nsMIMEInfoWin> nsOSHelperAppService::GetByExtension(const char
|
||||
if (err == ERROR_SUCCESS)
|
||||
{
|
||||
nsCAutoString typeToUse;
|
||||
if (aTypeHint) {
|
||||
if (aTypeHint && *aTypeHint) {
|
||||
typeToUse.Assign(aTypeHint);
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user