Mercurial > emacs
changeset 99778:0e63ee03a480
Derek Peschel <dpeschel at eskimo.com> (tiny change)
(add_regex): Pass correct length to re_compile_pattern.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 22 Nov 2008 03:17:53 +0000 |
parents | b1be79c8e945 |
children | 2071333afd12 |
files | lib-src/etags.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/etags.c Fri Nov 21 22:26:54 2008 +0000 +++ b/lib-src/etags.c Sat Nov 22 03:17:53 2008 +0000 @@ -5881,7 +5881,7 @@ else re_set_syntax (RE_SYNTAX_EMACS); - err = re_compile_pattern (pat, strlen (regexp_pattern), patbuf); + err = re_compile_pattern (pat, strlen (pat), patbuf); if (multi_line) free (pat); if (err != NULL)