| 632 | } |
| 633 | |
| 634 | static const char * |
| 635 | style_to_text(enum saveformats style) |
| 636 | { |
| 637 | const char *txt; |
| 638 | |
| 639 | switch (style) { |
| 640 | case historical: |
| 641 | txt = "historical"; |
| 642 | break; |
| 643 | case exportascii: |
| 644 | txt = "exportascii"; |
| 645 | break; |
| 646 | case invalid: |
| 647 | default: |
| 648 | txt = "invalid"; |
| 649 | break; |
| 650 | } |
| 651 | return txt; |
| 652 | } |
| 653 | |
| 654 | void |
| 655 | my_sf_init(void) |