Mercurial > emacs
changeset 20927:765fdbf766e4
(search_buffer): Update POS_BYTE for regexp search.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 20 Feb 1998 01:40:47 +0000 |
parents | b304072b893c |
children | 7ad239d7020b |
files | src/search.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c Fri Feb 20 01:40:47 1998 +0000 +++ b/src/search.c Fri Feb 20 01:40:47 1998 +0000 @@ -1070,6 +1070,7 @@ } if (val >= 0) { + pos_byte = search_regs.start[0] + BEGV_BYTE; for (i = 0; i < search_regs.num_regs; i++) if (search_regs.start[i] >= 0) { @@ -1102,6 +1103,7 @@ } if (val >= 0) { + pos_byte = search_regs.end[0] + BEGV_BYTE; for (i = 0; i < search_regs.num_regs; i++) if (search_regs.start[i] >= 0) {