| 708 | */ |
| 709 | |
| 710 | static void |
| 711 | ppd_defaults(ppd_file_t *ppd, /* I - PPD file */ |
| 712 | ppd_group_t *g) /* I - Group to default */ |
| 713 | { |
| 714 | int i; /* Looping var */ |
| 715 | ppd_option_t *o; /* Current option */ |
| 716 | ppd_group_t *sg; /* Current sub-group */ |
| 717 | |
| 718 | |
| 719 | for (i = g->num_options, o = g->options; i > 0; i --, o ++) |
| 720 | if (_cups_strcasecmp(o->keyword, "PageRegion") != 0) |
| 721 | ppd_mark_option(ppd, o->keyword, o->defchoice); |
| 722 | |
| 723 | for (i = g->num_subgroups, sg = g->subgroups; i > 0; i --, sg ++) |
| 724 | ppd_defaults(ppd, sg); |
| 725 | } |
| 726 | |
| 727 | |
| 728 | /* |
no test coverage detected