[gtk+] printing: Fix a typo
- From: Marek KaÅÃk <mkasik src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] printing: Fix a typo
- Date: Thu, 26 Jan 2012 09:53:16 +0000 (UTC)
commit e0d32d9456e1b15c64e8b9863189c04040948d5e
Author: Marek Kasik <mkasik redhat com>
Date: Thu Jan 26 10:52:47 2012 +0100
printing: Fix a typo
Fix a typo which crashes on my printer.
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 09b5bfd..cc1c577 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]