From xemacs-m  Mon Jun 30 12:57:13 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA26999
	for <xemacs-beta@xemacs.org>; Mon, 30 Jun 1997 12:57:12 -0500 (CDT)
Received: by crystal.WonderWorks.COM 
	id QQcwex21245; Mon, 30 Jun 1997 13:56:56 -0400 (EDT)
Date: Mon, 30 Jun 1997 13:56:56 -0400 (EDT)
Message-Id: <QQcwex21245.199706301756@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: patch for 19.15
X-Mailer: VM 6.33 under 20.3 "Athens" XEmacs  Lucid (beta10)
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

This was submitted earlier for 20.3-b4, but was not recommended
for 19.15 because I wanted to see if there were any ill effects.
Since there haven't been any reported, I now recommended this
patch for the official 19.15 patch set.

Mon Jun  9 19:35:19 1997  Kyle Jones  <kyle_jones@wonderworks.com>

	* src/redisplay.c (pixel_to_glyph_translation):
	  Fixed off by one error in computation of closest
	  position when mouse is in the frame's right-side
	  border area.

--- 1.1	1997/06/09 16:58:31
+++ src/redisplay.c	1997/06/09 23:23:47
@@ -7573,7 +7573,7 @@
 		      else
 			*closest =
 			  Dynarr_atp (db->runes,
-				      Dynarr_length (db->runes) - 1)->bufpos;
+				      Dynarr_length (db->runes) - 2)->bufpos;
 		    }
 
 		  if (dl->modeline)



