updated for version 7.1-023
diff --git a/src/search.c b/src/search.c
index ff9eb6a..9f6c997 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2795,7 +2795,7 @@
i = inc_cursor();
if (i == -1 || (i >= 1 && last_line)) /* started at last char in file */
return FAIL;
- if (i == 1 && eol && count == 0) /* started at last char in line */
+ if (i >= 1 && eol && count == 0) /* started at last char in line */
return OK;
/*
diff --git a/src/version.c b/src/version.c
index 3a14e64..0e02631 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 23,
+/**/
22,
/**/
21,