/[emacs]/emacs/src/search.c
ViewVC logotype

Diff of /emacs/src/search.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.165 by raeburn, Mon Jul 15 00:00:37 2002 UTC revision 1.166 by raeburn, Tue Jul 16 15:49:53 2002 UTC
# Line 1994  wordify (string) Line 1994  wordify (string)
1994    
1995        if (SYNTAX (c) == Sword)        if (SYNTAX (c) == Sword)
1996          {          {
1997            bcopy (&SREF (string, i_byte_orig), o,            bcopy (SDATA (string) + i_byte_orig, o,
1998                   i_byte - i_byte_orig);                   i_byte - i_byte_orig);
1999            o += i_byte - i_byte_orig;            o += i_byte - i_byte_orig;
2000          }          }
# Line 2471  since only regular expressions have dist Line 2471  since only regular expressions have dist
2471            else            else
2472              {              {
2473                /* Note that we don't have to increment POS.  */                /* Note that we don't have to increment POS.  */
2474                c = SDATA (newtext)[pos_byte++];                c = SREF (newtext, pos_byte++);
2475                if (buf_multibyte)                if (buf_multibyte)
2476                  c = unibyte_char_to_multibyte (c);                  c = unibyte_char_to_multibyte (c);
2477              }              }

Legend:
Removed from v.1.165  
changed lines
  Added in v.1.166

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26