From 59e5f2955e7ef8ba2e0344c1d20e435668ba9504 Mon Sep 17 00:00:00 2001 From: mostlysimlar Date: Wed, 27 May 2020 22:06:38 -0700 Subject: [PATCH] fix: releasing --- internal/utils/reaper_util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils/reaper_util.lua b/internal/utils/reaper_util.lua index 44a1509e..06da715e 100644 --- a/internal/utils/reaper_util.lua +++ b/internal/utils/reaper_util.lua @@ -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)