Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Fix x/y edito.
details: https://anonhg.NetBSD.org/src/rev/a657a2728a4f
branches: trunk
changeset: 811200:a657a2728a4f
user: uwe <uwe%NetBSD.org@localhost>
date: Sat Oct 17 00:35:25 2015 +0000
description:
Fix x/y edito.
diffstat:
lib/libcurses/toucholap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1c08d9e28ede -r a657a2728a4f lib/libcurses/toucholap.c
--- a/lib/libcurses/toucholap.c Fri Oct 16 18:06:22 2015 +0000
+++ b/lib/libcurses/toucholap.c Sat Oct 17 00:35:25 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.16 2015/10/17 00:35:25 uwe 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.16 2015/10/17 00:35:25 uwe 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