changeset 6740:255869831639

(copy_part_of_rope): Replace non-glyph with 0.
author Karl Heuer <kwzh@gnu.org>
date Fri, 08 Apr 1994 01:24:20 +0000
parents 6b0dd4aeca67
children 840862375e93
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri Apr 08 00:44:35 1994 +0000
+++ b/src/xdisp.c	Fri Apr 08 01:24:20 1994 +0000
@@ -1903,7 +1903,7 @@
   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)