printing: Fix a typo

Fix a typo which crashes on my printer.
This commit is contained in:
Marek Kasik 2012-01-26 10:52:47 +01:00
parent 90b991dd13
commit e0d32d9456

View File

@ -346,6 +346,8 @@ gtk_printer_cups_update_settings (GtkPrinterCups *printer,
/* cupsICCQualifier3 */
option = gtk_printer_option_set_lookup (set, "cups-Resolution");
if (option != NULL)
format[2] = option->value;
else
format[2] = "*";
/* get profile for the device given the qualifier */