Bug 529386 – Printing options hidden by blacklisted option
* modules/printbackend/cups/gtkprintbackendcups.c
(cups_printer_get_options): Fix the blacklist handling.
Patch by Marek Kašík.
svn path=/trunk/; revision=20058
This commit is contained in:
@ -2484,7 +2484,7 @@ cups_printer_get_options (GtkPrinter *printer,
|
||||
|
||||
for (i = 0; i < num_opts; i++)
|
||||
{
|
||||
if (STRING_IN_TABLE (opts->name, cups_option_blacklist))
|
||||
if (STRING_IN_TABLE (opts[i].name, cups_option_blacklist))
|
||||
continue;
|
||||
|
||||
name = get_option_name (opts[i].name);
|
||||
|
||||
Reference in New Issue
Block a user