| 4622 | } |
| 4623 | |
| 4624 | staticfn int |
| 4625 | optfn_video_height( |
| 4626 | int optidx UNUSED, int req, boolean negated, |
| 4627 | char *opts, char *op) |
| 4628 | { |
| 4629 | if (req == do_init) { |
| 4630 | return optn_ok; |
| 4631 | } |
| 4632 | if (req == do_set) { |
| 4633 | if ((op = string_for_opt(opts, negated)) != empty_optstr) |
| 4634 | iflags.wc_video_height = strtol(op, NULL, 10); |
| 4635 | else |
| 4636 | return optn_err; |
| 4637 | return optn_ok; |
| 4638 | } |
| 4639 | if (req == get_val || req == get_cnf_val) { |
| 4640 | opts[0] = '\0'; |
| 4641 | } |
| 4642 | return optn_ok; |
| 4643 | } |
| 4644 | |
| 4645 | #ifdef NO_TERMS |
| 4646 | staticfn int |
nothing calls this directly
no test coverage detected