DSP-Load Window: subscribe to newly added routes
[ardour.git] / scripts / tomsloop.lua
index db1d35a92fd8d186b66b16adcc208d157083d28a..ea06e486e9009d2ecbab9397634362c17678494b 100644 (file)
@@ -180,7 +180,7 @@ function factory (params) return function ()
                goto errorout
        end
        assert (loop:start () < loop:_end ())
-       if loop:_end () >= playhead then
+       if loop:_end () > playhead then
                print_help();
                print ("Error: The Playhead (paste point) needs to be after the loop.")
                goto errorout