Fixed search on MorphOS

This commit is contained in:
George Sokianos 2022-09-26 14:20:34 +01:00
parent 5d39b4ae68
commit b15bcbd397
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ end
local function find(label, search_fn)
last_view, last_sel = core.active_view,
{ core.active_view.doc:get_selection() }
local text = last_view.doc:get_text(unpack(last_sel))
local text = last_view.doc:get_text(table.unpack(last_sel))
found_expression = false
core.command_view:set_text(text, true)