aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispnew.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 073fa2e53de..da6bcc33b1e 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -5740,12 +5740,12 @@ mode_line_string (w, x, y, mode_line_p, charpos)
5740 5740
5741 if (row->mode_line_p && row->enabled_p) 5741 if (row->mode_line_p && row->enabled_p)
5742 { 5742 {
5743 /* The mode lines are displayed over scroll bars and bitmap 5743 /* The mode lines are displayed over scroll bars and fringes,
5744 areas, and X is window-relative. Correct X by the scroll bar 5744 and X is window-relative. Correct X by the scroll bar
5745 and bitmap area width. */ 5745 and fringe width. */
5746 if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f)) 5746 if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f))
5747 x += FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f); 5747 x += FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f);
5748 x += FRAME_LEFT_FLAGS_AREA_WIDTH (f); 5748 x += FRAME_LEFT_FRINGE_WIDTH (f);
5749 5749
5750 /* Find the glyph under X. If we find one with a string object, 5750 /* Find the glyph under X. If we find one with a string object,
5751 it's the one we were looking for. */ 5751 it's the one we were looking for. */