]> git.eshelyaron.com Git - emacs.git/commitdiff
Derek Peschel <dpeschel at eskimo.com> (tiny change)
authorGlenn Morris <rgm@gnu.org>
Sat, 22 Nov 2008 03:18:03 +0000 (03:18 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 22 Nov 2008 03:18:03 +0000 (03:18 +0000)
(add_regex): Pass correct length to re_compile_pattern.

lib-src/ChangeLog
lib-src/etags.c

index 84ef0dae0c1ae34d9465f07c6e4c65bf4d16206d..931aa2d435e2a50c869900196d2b9190d1662169 100644 (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.
index 0c2c9b949d0102969fc28795af0e23d02d5056c9..26b8a05fd767f6d3c8538678d356395888dc3390 100644 (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)