# HG changeset patch # User Gerd Moellmann # Date 980504748 0 # Node ID 37e5851b22b2f5e0d459d24efc38a1e736adaa7f # Parent fd71dffbdd5561b94d7dab61dd35aec9a0cb66b6 (display_line): Simplify check for glyphs fitting entirely in the line. diff -r fd71dffbdd55 -r 37e5851b22b2 src/xdisp.c --- a/src/xdisp.c Fri Jan 26 10:16:41 2001 +0000 +++ b/src/xdisp.c Fri Jan 26 10:25:48 2001 +0000 @@ -12227,12 +12227,9 @@ hpos_before = it->hpos; x_before = x; - if ((nglyphs == 1 - /* A wide multibyte character produces multiple glyphs on - tty window .*/ - || !SINGLE_BYTE_CHAR_P (it->c)) - && it->current_x < it->last_visible_x) - { + if (it->current_x < it->last_visible_x) + { + /* Glyphs produced fit entirely in the line. */ it->hpos += nglyphs; row->ascent = max (row->ascent, it->max_ascent); row->height = max (row->height, it->max_ascent + it->max_descent);