lorid

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

commit b5706b58fbdafceea315d1842f66bba8b91f7515
parent 5c89f96ba73a3eba9b1226866dfaefc556a0f409
Author: nibo <nibo@relim.de>
Date:   Sun, 26 Jan 2025 13:23:42 +0100

Change order of --print-default-config output

Diffstat:
Mconfig.c | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/config.c b/config.c @@ -499,6 +499,12 @@ config_print_default(void) config_notes_print_as_toml(NS_LATIN); config_notes_print_as_toml(NS_ROMAN); config_notes_print_as_toml(NS_NASHVILLE); + + printf("[parser]\n"); + printf("[parser.chords]\n"); + printf("mode = \"%s\"\n", config_parse_mode_to_config_string(config->parser->chords->mode)); + printf("system = \"%s\"\n\n", config_naming_system_to_config_string(config->parser->chords->system)); + printf("[output]\n"); printf("system = \"%s\"\n", config_naming_system_to_config_string(config->output->system)); printf("start_song_on_new_page = %s\n\n", config->output->start_song_on_new_page ? "true" : "false"); @@ -520,10 +526,6 @@ config_print_default(void) printf("[output.styles.%s]\n\n", text_types[i]); cho_style_print_as_toml(config->output->styles[i], text_types[i]); } - printf("[parser]\n"); - printf("[parser.chords]\n"); - printf("mode = \"%s\"\n", config_parse_mode_to_config_string(config->parser->chords->mode)); - printf("system = \"%s\"\n", config_naming_system_to_config_string(config->parser->chords->system)); config_free(config); }