13 lines
530 B
Diff
13 lines
530 B
Diff
diff -up foomatic-filters-4.0.3/options.c~ foomatic-filters-4.0.3/options.c
|
|
--- foomatic-filters-4.0.3/options.c~ 2009-08-19 19:08:41.000000000 +0100
|
|
+++ foomatic-filters-4.0.3/options.c 2009-11-05 15:46:58.120129303 +0000
|
|
@@ -863,7 +863,7 @@ int option_get_command(dstr_t *cmd, opti
|
|
|
|
/* If the value is set to a predefined choice */
|
|
choice = option_find_choice(opt, valstr);
|
|
- if (choice) {
|
|
+ if (choice && choice->command && *choice->command) {
|
|
dstrcpy(cmd, choice->command);
|
|
return 1;
|
|
}
|