Mercurial > hg > xemacs-beta
diff src/extents.c @ 327:03446687b7cc r21-0-61
Import from CVS: tag r21-0-61
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:48:16 +0200 |
parents | 70ad99077275 |
children | 7c94d56991e1 |
line wrap: on
line diff
--- a/src/extents.c Mon Aug 13 10:47:36 2007 +0200 +++ b/src/extents.c Mon Aug 13 10:48:16 2007 +0200 @@ -4906,10 +4906,10 @@ EXTENT extent = decode_extent (extent_obj, DE_MUST_HAVE_BUFFER); glyph_layout layout = symbol_to_glyph_layout (layout_obj); - /* Make sure we've actually been given a glyph or it's nil (meaning - we're deleting a glyph from an extent). */ + /* Make sure we've actually been given a valid glyph or it's nil + (meaning we're deleting a glyph from an extent). */ if (!NILP (glyph)) - CHECK_GLYPH (glyph); + CHECK_BUFFER_GLYPH (glyph); set_extent_glyph (extent, glyph, endp, layout); return glyph;