bug 266857 Cannot print more than once with a printer with non-Latin1 (e.g. Japanese) characters in its name, patch by Masayuki Nakano <masayuki@d-toybox.com> r=me, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164690 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0648c5d7eb
commit
92489afe54
@ -1005,8 +1005,9 @@ ShowNativePrintDialog(HWND aHWnd,
|
||||
printf("printer: driver %s, device %s flags: %d\n", driver, device, prntdlg.Flags);
|
||||
#endif
|
||||
// fill the print options with the info from the dialog
|
||||
nsString printerName;
|
||||
printerName.AssignWithConversion(device);
|
||||
nsDependentCString printerNameNative(device);
|
||||
nsAutoString printerName;
|
||||
NS_CopyNativeToUnicode(printerNameNative, printerName);
|
||||
|
||||
aPrintSettings->SetPrinterName(printerName.get());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user