From 72b8c43455d5603ad8270b8a320e85e3472ed82f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 22 Jul 2002 16:15:53 +0000 Subject: [PATCH] (display_line): Replace an unconditional abort with an assertion. --- src/ChangeLog | 4 ++++ src/xdisp.c | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index dd4dc158938..c375831f1ea 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-07-22 Gerd Moellmann + + * xdisp.c (display_line): Replace an abort with xassert. + 2002-07-21 Richard M. Stallman * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED diff --git a/src/xdisp.c b/src/xdisp.c index 4e52d39c908..cf538ed9241 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13229,9 +13229,10 @@ display_line (it) { /* 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); } } -- 2.39.5