Blame foomatic-filters-custom-command.patch
|
Tim Waugh |
c60e55 |
diff -up foomatic-filters-4.0.3/options.c.custom-command foomatic-filters-4.0.3/options.c
|
|
Tim Waugh |
c60e55 |
--- foomatic-filters-4.0.3/options.c.custom-command 2009-08-19 19:08:41.000000000 +0100
|
|
Tim Waugh |
c60e55 |
+++ foomatic-filters-4.0.3/options.c 2009-11-08 21:00:03.100887926 +0000
|
|
Tim Waugh |
c60e55 |
@@ -865,7 +865,8 @@ int option_get_command(dstr_t *cmd, opti
|
|
Tim Waugh |
0f0b3f |
choice = option_find_choice(opt, valstr);
|
|
Tim Waugh |
c60e55 |
if (choice) {
|
|
Tim Waugh |
0f0b3f |
dstrcpy(cmd, choice->command);
|
|
Tim Waugh |
c60e55 |
- return 1;
|
|
Tim Waugh |
c60e55 |
+ if (!option_use_foomatic_prototype(opt))
|
|
Tim Waugh |
c60e55 |
+ return 1;
|
|
Tim Waugh |
0f0b3f |
}
|
|
Tim Waugh |
c60e55 |
|
|
Tim Waugh |
c60e55 |
/* Consider "None" as the empty string for string and password options */
|