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:
Matthias Clasen
2008-05-01 00:37:20 +00:00
parent a661eab548
commit a2ea6b7570
2 changed files with 9 additions and 1 deletions

View File

@ -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);