changeset 46621:7adaca453582

(display_line): Replace an unconditional abort with an assertion.
author Richard M. Stallman <rms@gnu.org>
date Mon, 22 Jul 2002 16:12:31 +0000
parents f367f20901c0
children 7ac7ae3b6a36
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Jul 22 15:32:00 2002 +0000
+++ b/src/xdisp.c	Mon Jul 22 16:12:31 2002 +0000
@@ -13229,9 +13229,10 @@
 		{
 		  /* Glyph is completely off the left margin of the
 		     window.  This should not happen because of the
-		     move_it_in_display_line at the start of
-		     this function.  */
-		  abort ();
+		     move_it_in_display_line at the start of this
+		     function, unless the text display area of the
+		     window is empty.  */
+		  xassert (it->first_visible_x <= it->last_visible_x);
 		}
 	    }