# HG changeset patch # User Karl Heuer # Date 800835996 0 # Node ID b90c2cdd962740ed4b90d59988b6f0a988733c71 # Parent f9174d73e755789c497cd2ecf289c403a576ddaf (buffer_posn_from_coords): New arg to compute_motion. diff -r f9174d73e755 -r b90c2cdd9627 src/dispnew.c --- a/src/dispnew.c Thu May 18 22:22:33 1995 +0000 +++ b/src/dispnew.c Thu May 18 22:26:36 1995 +0000 @@ -1509,9 +1509,10 @@ 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);