lorid

convert chordpro to pdf
git clone git://git.relim.de/lorid.git
Log | Files | Refs | README | LICENSE

commit 3f2020b310d4278761ed5335015c81fd2e3275cf
parent 720b8437e1bebbfe503f3fb5b21ec66e878ea8ee
Author: nibo <nibo@relim.de>
Date:   Fri, 10 Jan 2025 18:03:06 +0100

Fix little issue

Diffstat:
Mconfig.c | 9+--------
1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/config.c b/config.c @@ -130,6 +130,7 @@ config_song_fragment_type_parse(const char *str) return SF_ANNOT; } else if (!strcmp(str, song_fragment_types[SF_CHORUS])) { + return SF_CHORUS; } else if (!strcmp(str, song_fragment_types[SF_FOOTER])) { return SF_FOOTER; @@ -453,14 +454,6 @@ config_load_default(void) return config; } -static void -config_output_style_print_as_toml(struct OutputStyle *style) -{ - const char *name = song_fragment_types[style->type]; - printf("[output.styles.%s]\n", name); - cho_style_print_as_toml(style->style, name); -} - void config_print_default(void) {