From b15bcbd3979df9a641fb6c358a8b35675a4b124a Mon Sep 17 00:00:00 2001 From: George Sokianos Date: Mon, 26 Sep 2022 14:20:34 +0100 Subject: [PATCH] Fixed search on MorphOS --- data/core/commands/findreplace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/core/commands/findreplace.lua b/data/core/commands/findreplace.lua index 0801b745..db6a2dd6 100644 --- a/data/core/commands/findreplace.lua +++ b/data/core/commands/findreplace.lua @@ -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)