renoise.Transport.song_length.line off by one

(joule) #1

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.

(joule) #2

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}.

(taktik) #3

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