lorid

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

commit be7a176e9c4a3ab442622adc2d68bf38e5eb5422
parent c860fe8e7d3bf8e81a663424d0be84cc593e589a
Author: nibo <nibo@relim.de>
Date:   Sat, 12 Jul 2025 15:21:03 +0200

Correct parsing of markup attribute 'rise'

Diffstat:
Msrc/chordpro.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/chordpro.c b/src/chordpro.c @@ -1355,7 +1355,7 @@ cho_style_parse( return NULL; } } - } else if (isdigit(attrs[a]->value[1]) != 0) { + } else if (isdigit(attrs[a]->value[0]) != 0) { double rise = strtod(attrs[a]->value, NULL); if (rise != 0.0) { style->rise = rise;