changeset 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 9857db8aa4cd
children 98165b066331
files src/dispnew.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Sun May 30 20:34:54 1993 +0000
+++ b/src/dispnew.c	Sun May 30 20:52:49 1993 +0000
@@ -1231,7 +1231,7 @@
   posn = compute_motion (startp, 0,
 			 (window == XWINDOW (minibuf_window) && startp == 1
 			  ? minibuf_prompt_width : 0),
-			 ZV, line, col - window_left,
+			 ZV, line, col,
 			 window_width, XINT (window->hscroll), 0);
 
   current_buffer = old_current_buffer;