From 6332ca8abf01722bd8a8f888594b59a15343c1f0 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 3 Jul 2001 10:30:08 +0000 Subject: [PATCH] Improve a comment. --- src/ChangeLog | 9 +++++++++ src/dispextern.h | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index ad10fe818e0..db84d0d05d8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,12 @@ +2001-07-03 Gerd Moellmann + + * xdisp.c (compute_line_metrics): On ttys, subtract continuation + glyphs and truncation glyphs at the end of a row from its pixel + width. + (dump_glyph_row): Print row's continuation_lines_width. + (try_window_id): Take the shortcut if ZV is visible in the + window, but there are actually no changes at ZV. + 2001-07-02 Gerd Moellmann * xterm.h (x_free_dpy_colors): Add prototype. diff --git a/src/dispextern.h b/src/dispextern.h index b7d82eded68..c2d6d1ea725 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -594,7 +594,8 @@ struct glyph_row int x, y; /* Width of the row in pixels without taking face extension at the - end of the row into account. */ + end of the row into account, and without counting truncation + and continuation glyphs at the end of a row on ttys. */ int pixel_width; /* Logical ascent/height of this line. The value of ascent is zero -- 2.39.2