aboutsummaryrefslogtreecommitdiff
path: root/core/ext
diff options
context:
space:
mode:
Diffstat (limited to 'core/ext')
-rw-r--r--core/ext/find.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ext/find.lua b/core/ext/find.lua
index c521517e..6a687296 100644
--- a/core/ext/find.lua
+++ b/core/ext/find.lua
@@ -69,7 +69,7 @@ function find.find(text, next, flags, nowrap, wrapped)
buffer:goto_pos(buffer.length)
end
textadept.statusbar_text = 'Search wrapped'
- result = find.find(text, flags, next, true, true)
+ result = find.find(text, next, flags, true, true)
if not result then
textadept.statusbar_text = 'No results found'
buffer:goto_pos(anchor)