aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-02-01 19:21:52 +0000
committerGerd Moellmann2001-02-01 19:21:52 +0000
commit0353b28fe4796c51df832ec16ac4742ec338fbb4 (patch)
treee495e68fa82be3d8457a9433944ec91ea42a5b93 /src
parent891b8b69b4d82ec91c770bbbd6ecd4804403dd05 (diff)
downloademacs-0353b28fe4796c51df832ec16ac4742ec338fbb4.tar.gz
emacs-0353b28fe4796c51df832ec16ac4742ec338fbb4.zip
(search_buffer): Call set_search_regs with a byte
position, not a character position.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/search.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 92635c44990..a9e697c7945 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12001-02-01 Gerd Moellmann <gerd@gnu.org> 12001-02-01 Gerd Moellmann <gerd@gnu.org>
2 2
3 * search.c (search_buffer): Call set_search_regs with a byte
4 position, not a character position.
5
3 * xfns.c (x_set_tool_bar_lines): Do nothing if frame is 6 * xfns.c (x_set_tool_bar_lines): Do nothing if frame is
4 minibuffer-only, 7 minibuffer-only,
5 8
diff --git a/src/search.c b/src/search.c
index 99da344c1ba..0bf881565a9 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1030,7 +1030,7 @@ search_buffer (string, pos, pos_byte, lim, lim_byte, n,
1030 /* Null string is found at starting position. */ 1030 /* Null string is found at starting position. */
1031 if (len == 0 || n == 0) 1031 if (len == 0 || n == 0)
1032 { 1032 {
1033 set_search_regs (pos, 0); 1033 set_search_regs (pos_byte, 0);
1034 return pos; 1034 return pos;
1035 } 1035 }
1036 1036