aboutsummaryrefslogtreecommitdiffhomepage
path: root/core
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2008-12-14 14:17:38 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2008-12-14 14:17:38 -0500
commit2244c6dee8badba74789f0c5e4c640ce7be6160d (patch)
tree08a3c2d5b816d68a7eb75791d1bb02607eebb4ad /core
parentf30c20212df39d1a9d2cb2e3ecfcd18cc1720807 (diff)
Fixed find bug when no match is found; core/ext/find.lua
Diffstat (limited to 'core')
-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)