From bff2d1ffc49d635a7545fd31786ac9e6966016ba Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 5 Jul 2014 13:24:11 +0300 Subject: [PATCH] src/xdisp.c (pos_visible_p): Fix inaccurate comment. --- src/xdisp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 913b57ed44b..28752a42cb9 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1689,7 +1689,9 @@ pos_visible_p (struct window *w, ptrdiff_t charpos, int *x, int *y, } else { - /* We were asked to provide info about WINDOW_END. */ + /* Either we were asked to provide info about WINDOW_END, or + CHARPOS is in the partially visible glyph row at end of + window. */ struct it it2; void *it2data = NULL; -- 2.39.5