Bug 1184936 - Need convert from UTF8 for printer name. r=karlt

MozReview-Commit-ID: ClWYKm87idC

--HG--
extra : rebase_source : ea6726ce8a98ae425bc49eed951584d1531cbd32
This commit is contained in:
Makoto Kato 2016-02-09 16:34:20 +09:00
parent d5820bea46
commit 8c5ad84243

View File

@ -480,7 +480,7 @@ nsPrintSettingsGTK::GetPrinterName(char16_t * *aPrinter)
return NS_OK;
}
}
*aPrinter = ToNewUnicode(nsDependentCString(gtkPrintName));
*aPrinter = UTF8ToNewUnicode(nsDependentCString(gtkPrintName));
return NS_OK;
}