From 94129385f70af26409bb5c7403c99ddb2ba632b5 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 18 May 1995 22:26:36 +0000 Subject: [PATCH] (buffer_posn_from_coords): New arg to compute_motion. --- src/dispnew.c | 7 ++++--- 1 file 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) the window, but it isn't maintained correctly, and I'm not even sure I will keep it. */ posn = compute_motion (startp, 0, - (window == XWINDOW (minibuf_window) && startp == 1 - ? minibuf_prompt_width : 0) - + (hscroll ? 1 - hscroll : 0), + ((window == XWINDOW (minibuf_window) && startp == BEG + ? minibuf_prompt_width : 0) + + (hscroll ? 1 - hscroll : 0)), + 0, ZV, line, col, window_width, hscroll, 0, window); -- 2.39.2