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