Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5d69fe10
Commit
5d69fe10
authored
Jul 16, 2002
by
Ken Raeburn
Browse files
* search.c (wordify): Use SDATA.
(Freplace_match): Use SREF.
parent
a814cc69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/search.c
src/search.c
+2
-2
No files found.
src/search.c
View file @
5d69fe10
...
...
@@ -1994,7 +1994,7 @@ wordify (string)
if
(
SYNTAX
(
c
)
==
Sword
)
{
bcopy
(
&
SREF
(
string
,
i_byte_orig
)
,
o
,
bcopy
(
SDATA
(
string
)
+
i_byte_orig
,
o
,
i_byte
-
i_byte_orig
);
o
+=
i_byte
-
i_byte_orig
;
}
...
...
@@ -2471,7 +2471,7 @@ since only regular expressions have distinguished subexpressions. */)
else
{
/* Note that we don't have to increment POS. */
c
=
S
DATA
(
newtext
)[
pos_byte
++
]
;
c
=
S
REF
(
newtext
,
pos_byte
++
)
;
if
(
buf_multibyte
)
c
=
unibyte_char_to_multibyte
(
c
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment