Commit 3d864325 authored by Glenn Morris's avatar Glenn Morris

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

(add_regex): Pass correct length to re_compile_pattern.
parent 8a986865
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.
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment