Mercurial > emacs
diff src/search.c @ 108933:b465aa3255ed
Fix typos.
| author | Juanma Barranquero <lekktu@gmail.com> |
|---|---|
| date | Thu, 03 Jun 2010 17:34:35 +0200 |
| parents | 1d1d5d9bd884 |
| children | 2bc9a0c04c87 376148b31b5e |
line wrap: on
line diff
--- a/src/search.c Wed Jun 02 23:07:39 2010 -0700 +++ b/src/search.c Thu Jun 03 17:34:35 2010 +0200 @@ -100,10 +100,10 @@ static void set_search_regs P_ ((EMACS_INT, EMACS_INT)); static void save_search_regs P_ ((void)); -static EMACS_INT simple_search P_ ((int, unsigned char *, int, int, +static EMACS_INT simple_search P_ ((int, unsigned char *, int, int, Lisp_Object, EMACS_INT, EMACS_INT, EMACS_INT, EMACS_INT)); -static EMACS_INT boyer_moore P_ ((int, unsigned char *, int, int, +static EMACS_INT boyer_moore P_ ((int, unsigned char *, int, int, Lisp_Object, Lisp_Object, EMACS_INT, EMACS_INT, EMACS_INT, EMACS_INT, int)); @@ -281,7 +281,7 @@ if (regp) re_set_registers (&cp->buf, regp, regp->num_regs, regp->start, regp->end); - /* The compiled pattern can be used both for mulitbyte and unibyte + /* The compiled pattern can be used both for multibyte and unibyte target. But, we have to tell which the pattern is used for. */ cp->buf.target_multibyte = multibyte; @@ -582,7 +582,7 @@ unsigned char *p1, *p2; EMACS_INT s1, s2; EMACS_INT len; - + if (STRINGP (string)) { if (pos_byte < 0)
