diff options
author | Marek Kasik <mkasik@redhat.com> | 2012-01-26 10:52:47 +0100 |
---|---|---|
committer | Marek Kasik <mkasik@redhat.com> | 2012-01-26 10:52:47 +0100 |
commit | e0d32d9456e1b15c64e8b9863189c04040948d5e (patch) | |
tree | ac6d8ee4243d0404c0b917d71a46ecd4602ccd30 /modules | |
parent | 90b991dd13b8ec180ac3be4f52bcc9809207cd68 (diff) | |
download | gtk+-e0d32d9456e1b15c64e8b9863189c04040948d5e.tar.gz |
printing: Fix a typo
Fix a typo which crashes on my printer.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/printbackends/cups/gtkprintercups.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/printbackends/cups/gtkprintercups.c b/modules/printbackends/cups/gtkprintercups.c index 09b5bfd916..cc1c5774ba 100644 --- a/modules/printbackends/cups/gtkprintercups.c +++ b/modules/printbackends/cups/gtkprintercups.c @@ -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 */ |