Mercurial > emacs
changeset 11851:b90c2cdd9627
(buffer_posn_from_coords): New arg to compute_motion.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 18 May 1995 22:26:36 +0000 |
parents | f9174d73e755 |
children | 35b170692e4a |
files | src/dispnew.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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);