Mercurial > emacs
comparison src/xdisp.c @ 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 | 4298549687a8 |
children | 59cbcee222fd |
comparison
equal
deleted
inserted
replaced
46620:f367f20901c0 | 46621:7adaca453582 |
---|---|
13227 } | 13227 } |
13228 else | 13228 else |
13229 { | 13229 { |
13230 /* Glyph is completely off the left margin of the | 13230 /* Glyph is completely off the left margin of the |
13231 window. This should not happen because of the | 13231 window. This should not happen because of the |
13232 move_it_in_display_line at the start of | 13232 move_it_in_display_line at the start of this |
13233 this function. */ | 13233 function, unless the text display area of the |
13234 abort (); | 13234 window is empty. */ |
13235 xassert (it->first_visible_x <= it->last_visible_x); | |
13235 } | 13236 } |
13236 } | 13237 } |
13237 | 13238 |
13238 row->ascent = max (row->ascent, it->max_ascent); | 13239 row->ascent = max (row->ascent, it->max_ascent); |
13239 row->height = max (row->height, it->max_ascent + it->max_descent); | 13240 row->height = max (row->height, it->max_ascent + it->max_descent); |