printing: Fix a typo

Fix a typo which crashes on my printer.
This commit is contained in:
Marek Kasik
2012-01-26 10:54:22 +01:00
parent e1c107a094
commit a8e0895449

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 */