changeset 35831:dc8b618615ea

(search_buffer): Call set_search_regs with a byte position, not a character position.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 01 Feb 2001 19:21:26 +0000
parents 037d66685778
children 328655f85aab
files src/search.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Thu Feb 01 17:42:44 2001 +0000
+++ b/src/search.c	Thu Feb 01 19:21:26 2001 +0000
@@ -1030,7 +1030,7 @@
   /* Null string is found at starting position.  */
   if (len == 0 || n == 0)
     {
-      set_search_regs (pos, 0);
+      set_search_regs (pos_byte, 0);
       return pos;
     }