Report an error on search submit with incsearch.

This commit is contained in:
Kris Maglione committed 2008-10-11 23:14:20 +00:00
1 parent 747fd0e96d
commit db3cc5433e
1 file changed
+1 -1
+1 -1
View File
@@ -405,7 +405,7 @@ liberator.Search = function () //{{{
command = lastSearchPattern;
this.clear();
if (!liberator.options["incsearch"])
if (!liberator.options["incsearch"] || !found)
this.find(command, backwards);
lastSearchBackwards = backwards;