changeset 6741:840862375e93

(copy_part_of_rope): Replace non-glyph with 0.
author Karl Heuer <kwzh@gnu.org>
date Fri, 08 Apr 1994 01:27:28 +0000
parents 255869831639
children ef62a96ce830
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri Apr 08 01:24:20 1994 +0000
+++ b/src/xdisp.c	Fri Apr 08 01:27:28 1994 +0000
@@ -1928,7 +1928,7 @@
 #endif
     while (n--)
       {
-	if (to >= s) *to = XFASTINT (*fp);
+	if (to >= s) *to = (INTEGERP (*fp) ? XFASTINT (*fp) : 0);
 	++to;
 	++fp;
       }