renoise.Transport.song_length.line off by one

renoise.Transport.song_length (renoise.SongPos) seems to return a line number that is off by one (+1).

Expected: should return the last possible songpos of the song.

Tested in Renoise 3.1.1 x64 under Windows 10 x64.

No? Maybe there’s something wrong with my cpu :hushed:

A song with two sequences, both patterns having 64 lines, will return = { 2, 65 }. Should be {2, 64}.

Yes, should be {2, 64}. Will be fixed. Thanks for reporting.

1 Like