Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/lib/libcurses Pull up following revision(s) (requested by...



details:   https://anonhg.NetBSD.org/src/rev/10d1ab036877
branches:  netbsd-7
changeset: 799671:10d1ab036877
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Nov 07 16:38:22 2015 +0000

description:
Pull up following revision(s) (requested by uwe in ticket #1007):
        lib/libcurses/toucholap.c: revision 1.16
Fix x/y edito.

diffstat:

 lib/libcurses/toucholap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0b8bb011d01a -r 10d1ab036877 lib/libcurses/toucholap.c
--- a/lib/libcurses/toucholap.c Sat Nov 07 16:15:03 2015 +0000
+++ b/lib/libcurses/toucholap.c Sat Nov 07 16:38:22 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: toucholap.c,v 1.15 2007/01/21 13:25:36 jdc Exp $       */
+/*     $NetBSD: toucholap.c,v 1.15.54.1 2015/11/07 16:38:22 riz Exp $  */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)toucholap.c        8.2 (Berkeley) 5/4/94";
 #else
-__RCSID("$NetBSD: toucholap.c,v 1.15 2007/01/21 13:25:36 jdc Exp $");
+__RCSID("$NetBSD: toucholap.c,v 1.15.54.1 2015/11/07 16:38:22 riz Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -55,7 +55,7 @@
 #endif
        starty = max(win1->begy, win2->begy);
        startx = max(win1->begx, win2->begx);
-       endy = min(win1->maxy + win1->begy, win2->maxy + win2->begx);
+       endy = min(win1->maxy + win1->begy, win2->maxy + win2->begy);
        endx = min(win1->maxx + win1->begx, win2->maxx + win2->begx);
 #ifdef DEBUG
        __CTRACE(__CTRACE_WINDOW, "touchoverlap: from (%d,%d) to (%d,%d)\n",



Home | Main Index | Thread Index | Old Index