Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
202c1b5b
Commit
202c1b5b
authored
Jan 26, 2001
by
Gerd Moellmann
Browse files
(display_line): Simplify check for glyphs fitting
entirely in the line.
parent
9b1adbd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/xdisp.c
src/xdisp.c
+2
-5
No files found.
src/xdisp.c
View file @
202c1b5b
...
...
@@ -12227,12 +12227,9 @@ display_line (it)
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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment