Derek Peschel <dpeschel at eskimo.com> (tiny change)

(add_regex): Pass correct length to re_compile_pattern.
This commit is contained in:
Glenn Morris 2008-11-22 03:18:03 +00:00
parent 8a98686533
commit 3d86432513
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
* etags.c (add_regex): Pass correct length to re_compile_pattern.
2008-11-02 Chong Yidong <cyd@stupidchicken.com>
* emacsclient.c (window_system): Delete redundant variable.

View file

@ -5881,7 +5881,7 @@ add_regex (regexp_pattern, lang)
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)