summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-01-30 14:44:00 +0100
committerRobin Gareus <robin@gareus.org>2018-01-30 14:44:00 +0100
commite6b8a0d95bbdc091fcef0713197a9985263bb631 (patch)
tree0a34915c2407e13f09807875f4383e1461cd9b4c /scripts
parent8207b545d12493ae1b708c42fc7dc31dcca0ea67 (diff)
tom's-loop: Allow pasting at loop-end (needs future rework after nutempo)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/tomsloop.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tomsloop.lua b/scripts/tomsloop.lua
index db1d35a92f..ea06e486e9 100644
--- a/scripts/tomsloop.lua
+++ b/scripts/tomsloop.lua
@@ -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