fix #19306 : Fixing correctly the lengths of the barline
Merge pull request #196 from Soerboe/fix19306_2

fix #19306 : Fixing correctly the lengths of the barline