occivink / mpv-scripts

Various scripts for mpv
The Unlicense
417 stars 38 forks source link

A variable was not renamed in seek-to.lua #65

Open vialni opened 1 year ago

vialni commented 1 year ago

In the function "backspace" there is a line

if cursor_position ~= 9 or current_time[9] == 0 then

that produces a bug in certain situations. I think it should be like

if cursor_position ~= 9 or history[#history][9] == 0 then