get selected or default line style */
| 3553 | |
| 3554 | /* get selected or default line style */ |
| 3555 | const printTextFormat * |
| 3556 | get_line_style(const printTableOpt *opt) |
| 3557 | { |
| 3558 | /* |
| 3559 | * Note: this function mainly exists to preserve the convention that a |
| 3560 | * printTableOpt struct can be initialized to zeroes to get default |
| 3561 | * behavior. |
| 3562 | */ |
| 3563 | if (opt->line_style != NULL) |
| 3564 | return opt->line_style; |
| 3565 | else |
| 3566 | return &pg_asciiformat; |
| 3567 | } |
| 3568 | |
| 3569 | void |
| 3570 | refresh_utf8format(const printTableOpt *opt) |
no outgoing calls
no test coverage detected