aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index a01abacadcc..206cdb89661 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1509,9 +1509,10 @@ buffer_posn_from_coords (window, col, line)
1509 the window, but it isn't maintained correctly, and I'm not even 1509 the window, but it isn't maintained correctly, and I'm not even
1510 sure I will keep it. */ 1510 sure I will keep it. */
1511 posn = compute_motion (startp, 0, 1511 posn = compute_motion (startp, 0,
1512 (window == XWINDOW (minibuf_window) && startp == 1 1512 ((window == XWINDOW (minibuf_window) && startp == BEG
1513 ? minibuf_prompt_width : 0) 1513 ? minibuf_prompt_width : 0)
1514 + (hscroll ? 1 - hscroll : 0), 1514 + (hscroll ? 1 - hscroll : 0)),
1515 0,
1515 ZV, line, col, 1516 ZV, line, col,
1516 window_width, hscroll, 0, window); 1517 window_width, hscroll, 0, window);
1517 1518