mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
fix for #86980. when printing, we always print ASCII header names,
instead of the localized versions. r/sr=bienvenu
This commit is contained in:
parent
0b00c41a3e
commit
0f2019cb5c
@ -259,7 +259,7 @@ nsMimeBaseEmitter::LocalizeHeaderName(const char *aHeaderName, const char *aDefa
|
||||
{
|
||||
char *retVal = MimeGetStringByName(aHeaderName);
|
||||
|
||||
if (!retVal)
|
||||
if (retVal)
|
||||
return retVal;
|
||||
else
|
||||
return nsCRT::strdup(aDefaultName);
|
||||
|
Loading…
Reference in New Issue
Block a user