Commit 42db823b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(search_buffer): Fix typo in previous change.

parent 987d2ad1
......@@ -670,8 +670,9 @@ search_buffer (string, pos, lim, n, RE, trt, inverse_trt)
}
while (n < 0)
{
int val;
BLOCK_INPUT;
int val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2,
val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2,
pos - BEGV, lim - pos, &search_regs,
/* Don't allow match past current point */
pos - BEGV);
......@@ -700,8 +701,9 @@ search_buffer (string, pos, lim, n, RE, trt, inverse_trt)
}
while (n > 0)
{
int val;
BLOCK_INPUT;
int val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2,
val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2,
pos - BEGV, lim - pos, &search_regs,
lim - BEGV);
UNBLOCK_INPUT;
......
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