# HG changeset patch # User Gerd Moellmann # Date 946654461 0 # Node ID 8cf3702104b53bb1bd13bbcb9d9771654bda722d # Parent f43dabd831f2364470fb1526afa6ad8249375e5e (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. diff -r f43dabd831f2 -r 8cf3702104b5 src/xdisp.c --- 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; }