lorid

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

commit 8f26e61e7aed7717512069957ec66876b4186c85
parent ea4d96baba83bed3e67d7e64837d52d64f4b6153
Author: nibo <nibo@relim.de>
Date:   Wed, 25 Dec 2024 11:46:05 +0100

Fix file line number in parsing log output

Diffstat:
Mchordpro.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/chordpro.c b/chordpro.c @@ -4854,10 +4854,12 @@ cho_songs_parse(FILE *fp, const char *chordpro_filepath, struct Config *config) songs[so] = NULL; free(g_transpose_history); g_transpose_history = NULL; + g_line_number = 1; for (e = 0; e<g_ia; e++) { cho_image_free(g_image_assets[e]); } free(g_image_assets); + g_ia = 0; bool exist_title = false; for (so = 0; songs[so]; so++) { for (m = 0; songs[so]->metadata[m]; m++) {