зеркало из https://github.com/mozilla/gecko-dev.git
b=203937 an extra "print." is added to printing preference name
r=kaie sr=jag a=sspitzer patch from and checking in for Roland.Mainz
This commit is contained in:
Родитель
069bebd4b0
Коммит
c158b112ef
|
@ -324,12 +324,12 @@ const char* nsPrintOptions::GetPrefName(const char * aPrefName,
|
|||
return aPrefName;
|
||||
}
|
||||
|
||||
mPrefName.AssignWithConversion(NS_LITERAL_STRING("print."));
|
||||
mPrefName.Truncate(); /* mPrefName = ""; */
|
||||
|
||||
if (aPrinterName.Length()) {
|
||||
mPrefName.AppendWithConversion(NS_LITERAL_STRING("printer_"));
|
||||
mPrefName.Append("printer_");
|
||||
mPrefName.AppendWithConversion(aPrinterName);
|
||||
mPrefName.AppendWithConversion(NS_LITERAL_STRING("."));
|
||||
mPrefName.Append(".");
|
||||
}
|
||||
mPrefName += aPrefName;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче