| 4601 | |
| 4602 | #ifdef MSDOS |
| 4603 | staticfn int |
| 4604 | optfn_video_width( |
| 4605 | int optidx UNUSED, int req, boolean negated, |
| 4606 | char *opts, char *op) |
| 4607 | { |
| 4608 | if (req == do_init) { |
| 4609 | return optn_ok; |
| 4610 | } |
| 4611 | if (req == do_set) { |
| 4612 | if ((op = string_for_opt(opts, negated)) != empty_optstr) |
| 4613 | iflags.wc_video_width = strtol(op, NULL, 10); |
| 4614 | else |
| 4615 | return optn_err; |
| 4616 | return optn_ok; |
| 4617 | } |
| 4618 | if (req == get_val || req == get_cnf_val) { |
| 4619 | opts[0] = '\0'; |
| 4620 | } |
| 4621 | return optn_ok; |
| 4622 | } |
| 4623 | |
| 4624 | staticfn int |
| 4625 | optfn_video_height( |
nothing calls this directly
no test coverage detected