[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master bbe4509 3/4: * src/xdisp.c (hscroll_window_tree): F
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master bbe4509 3/4: * src/xdisp.c (hscroll_window_tree): Fix type typo. |
Date: |
Wed, 4 Sep 2019 01:46:22 -0400 (EDT) |
branch: master
commit bbe45091de5418a85fb3b429b40747d66485bb6e
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
* src/xdisp.c (hscroll_window_tree): Fix type typo.
---
src/xdisp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/xdisp.c b/src/xdisp.c
index 75bc536..94f969f 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -13509,7 +13509,8 @@ hscroll_window_tree (Lisp_Object window)
get glyph rows whose start and end have zero buffer
positions, which we cannot handle below. Just skip
such windows. */
- && CHARPOS (cursor_row->start.pos) >= BUF_BEG (w->contents)
+ && (CHARPOS (cursor_row->start.pos)
+ >= BUF_BEG (XBUFFER (w->contents)))
/* For left-to-right rows, hscroll when cursor is either
(i) inside the right hscroll margin, or (ii) if it is
inside the left margin and the window is already