Mercurial > emacs
diff src/xdisp.c @ 27056:8cf3702104b5
(next_element_from_buffer): Change assertion at the end
because it doesn't hold when there's an overlay string at the end
from which we deliver an image.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 31 Dec 1999 15:34:21 +0000 |
parents | 526f3b2398ce |
children | 0f307c7f49ba |
line wrap: on
line diff
--- a/src/xdisp.c Fri Dec 31 15:04:57 1999 +0000 +++ b/src/xdisp.c Fri Dec 31 15:34:21 1999 +0000 @@ -3916,8 +3916,7 @@ else { it->overlay_strings_at_end_processed_p = 1; - overlay_strings_follow_p - = get_overlay_strings (it); + overlay_strings_follow_p = get_overlay_strings (it); } if (overlay_strings_follow_p) @@ -3994,7 +3993,7 @@ } /* Value is zero if end of buffer reached. */ - xassert (!success_p || it->len > 0); + xassert (!success_p || it->what != IT_CHARACTER || it->len > 0); return success_p; }