aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c
index 7ccdab568e1..9b33e9e8d02 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1994,7 +1994,7 @@ wordify (string)
1994 1994
1995 if (SYNTAX (c) == Sword) 1995 if (SYNTAX (c) == Sword)
1996 { 1996 {
1997 bcopy (&SREF (string, i_byte_orig), o, 1997 bcopy (SDATA (string) + i_byte_orig, o,
1998 i_byte - i_byte_orig); 1998 i_byte - i_byte_orig);
1999 o += i_byte - i_byte_orig; 1999 o += i_byte - i_byte_orig;
2000 } 2000 }
@@ -2471,7 +2471,7 @@ since only regular expressions have distinguished subexpressions. */)
2471 else 2471 else
2472 { 2472 {
2473 /* Note that we don't have to increment POS. */ 2473 /* Note that we don't have to increment POS. */
2474 c = SDATA (newtext)[pos_byte++]; 2474 c = SREF (newtext, pos_byte++);
2475 if (buf_multibyte) 2475 if (buf_multibyte)
2476 c = unibyte_char_to_multibyte (c); 2476 c = unibyte_char_to_multibyte (c);
2477 } 2477 }