diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-04-08 01:24:20 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-04-08 01:24:20 +0000 |
commit | 027ce944dab7b31e4b7025b30d6dbe16b11df3c5 (patch) | |
tree | 88f3873d93dbc5f23b66f7224e11148e15350d22 /src/xdisp.c | |
parent | 8825c64ebf24fe2071bc4f316289d1c3dcc315a8 (diff) | |
download | emacs-027ce944dab7b31e4b7025b30d6dbe16b11df3c5.tar.gz |
(copy_part_of_rope): Replace non-glyph with 0.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index db0515d04c5..04b848826c1 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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) |