diff --git a/FX/BuyOne_Lock FX and FX chains/BuyOne_Lock FX and FX chains (guide inside).lua b/FX/BuyOne_Lock FX and FX chains/BuyOne_Lock FX and FX chains (guide inside).lua index 498738336..8f5d03cca 100644 --- a/FX/BuyOne_Lock FX and FX chains/BuyOne_Lock FX and FX chains (guide inside).lua +++ b/FX/BuyOne_Lock FX and FX chains/BuyOne_Lock FX and FX chains (guide inside).lua @@ -10,12 +10,10 @@ * Licence: WTFPL * Forum Thread: * Demo: -* Version: 1.1 +* Version: 1.2 * REAPER: at least v5.962 * Extensions: -* Changelog: - + v1.0 Initial release - + v1.1 Added proper takes support +* Changelog: Minor update of relational operator ]] --[[ @@ -115,7 +113,7 @@ local function GetObjChunk(retval, obj) -- Try standard function ----- local t = retval == 1 and {r.GetTrackStateChunk(obj, '', false)} or {r.GetItemStateChunk(obj, '', false)} -- isundo = false local ret, obj_chunk = table.unpack(t) - if ret and obj_chunk and #obj_chunk > 4194303 and not r.APIExists('SNM_CreateFastString') then return 'err_mess' + if ret and obj_chunk and #obj_chunk >= 4194303 and not r.APIExists('SNM_CreateFastString') then return 'err_mess' elseif ret and obj_chunk and #obj_chunk < 4194303 then return ret, obj_chunk -- 4194303 bytes = (4096 kb * 1024 bytes) - 1 byte end -- If chunk_size >= max_size, use wdl fast string --