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
dedd1182
Commit
dedd1182
authored
Apr 08, 1994
by
Karl Heuer
Browse files
(copy_part_of_rope): Replace non-glyph with 0.
parent
395ec62e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/xdisp.c
src/xdisp.c
+2
-2
No files found.
src/xdisp.c
View file @
dedd1182
...
...
@@ -1903,7 +1903,7 @@ copy_part_of_rope (f, to, s, from, len, face)
if
(
!
FRAME_TERMCAP_P
(
f
))
while
(
n
--
)
{
int
glyph
=
XFASTINT
(
*
fp
);
int
glyph
=
(
INTEGERP
(
*
fp
)
?
XFASTINT
(
*
fp
)
:
0
)
;
int
facecode
;
if
(
FAST_GLYPH_FACE
(
glyph
)
==
0
)
...
...
@@ -1928,7 +1928,7 @@ copy_part_of_rope (f, to, s, from, len, face)
#endif
while
(
n
--
)
{
if
(
to
>=
s
)
*
to
=
XFASTINT
(
*
fp
);
if
(
to
>=
s
)
*
to
=
(
INTEGERP
(
*
fp
)
?
XFASTINT
(
*
fp
)
:
0
)
;
++
to
;
++
fp
;
}
...
...
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