From: Karl Heuer Date: Thu, 18 May 1995 22:26:36 +0000 (+0000) Subject: (buffer_posn_from_coords): New arg to compute_motion. X-Git-Tag: emacs-19.34~4007 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=94129385f70af26409bb5c7403c99ddb2ba632b5;p=emacs.git (buffer_posn_from_coords): New arg to compute_motion. --- 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);