comparison src/dispnew.c @ 3317:55066d2375b6

(buffer_posn_from_coords): Since COL is already window-relative, don't subtract window_left.
author Richard M. Stallman <rms@gnu.org>
date Sun, 30 May 1993 20:52:49 +0000
parents 0f69ebbf67d1
children d9523a958b3c
comparison
equal deleted inserted replaced
3316:9857db8aa4cd 3317:55066d2375b6
1229 the window, but it isn't maintained correctly, and I'm not even 1229 the window, but it isn't maintained correctly, and I'm not even
1230 sure I will keep it. */ 1230 sure I will keep it. */
1231 posn = compute_motion (startp, 0, 1231 posn = compute_motion (startp, 0,
1232 (window == XWINDOW (minibuf_window) && startp == 1 1232 (window == XWINDOW (minibuf_window) && startp == 1
1233 ? minibuf_prompt_width : 0), 1233 ? minibuf_prompt_width : 0),
1234 ZV, line, col - window_left, 1234 ZV, line, col,
1235 window_width, XINT (window->hscroll), 0); 1235 window_width, XINT (window->hscroll), 0);
1236 1236
1237 current_buffer = old_current_buffer; 1237 current_buffer = old_current_buffer;
1238 1238
1239 /* compute_motion considers frame points past the end of a line 1239 /* compute_motion considers frame points past the end of a line