Skip to content

Commit

Permalink
fix: releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
gwatcha committed May 28, 2020
1 parent 260feaa commit 59e5f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/reaper_util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ function reaper_util.selectPrevRegion()

_, region_id = reaper.GetLastMarkerAndCurRegion(0, current_position)
if region_id == 0 then
-- no convenient way to find the last region, so keep going until we get nil
-- no convenient way to find the last region, so keep going until we get false
for i=1,100 do
if selectRegion(i) == false then
selectRegion(i-1)
Expand Down

0 comments on commit 59e5f29

Please sign in to comment.