summaryrefslogtreecommitdiff
path: root/lib/libpanel
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-01-16 01:35:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-01-16 01:35:20 +0000
commit4f8aa862930674882c18bd874d1e03ef2b683b90 (patch)
treefdd3069af3a177667aa385bd0920bdcceb7cfc55 /lib/libpanel
parentb4d14dd490ae681e832fa406a09c4e29963c25ad (diff)
Update to ncurses-5.0-20000115:
+ additional fixes for non-bce terminals (handling of delete_character) to work when assume_default_colors() is not specified. + modify warning message from _nc_parse_entry() regarding extended capability names to print only if tic/infocmp/toe have the -v flag set, and not at all in ordinary user applications. Otherwise, this warning would be shown for screen's extended capabilities in programs that use the termcap interface. + modify use of _nc_tracing from programs such as tic so their debug level is not in the same range as values set by trace() function. + small panel header cleanup (patch by Juergen Pfeifer).
Diffstat (limited to 'lib/libpanel')
-rw-r--r--lib/libpanel/panel.priv.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libpanel/panel.priv.h b/lib/libpanel/panel.priv.h
index 3e1f3f45cca..e6d2a7878b9 100644
--- a/lib/libpanel/panel.priv.h
+++ b/lib/libpanel/panel.priv.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: panel.priv.h,v 1.4 1999/11/28 17:49:19 millert Exp $ */
-/* $From: panel.priv.h,v 1.12 1999/11/25 13:49:26 juergen Exp $ */
+/* $OpenBSD: panel.priv.h,v 1.5 2000/01/16 01:35:18 millert Exp $ */
+/* $From: panel.priv.h,v 1.13 2000/01/15 20:39:53 juergen Exp $ */
#ifndef _PANEL_PRIV_H
#define _PANEL_PRIV_H
@@ -124,13 +124,12 @@
updated.
---------------------------------------------------------------------------*/
#define PANEL_UPDATE(pan,panstart,touch)\
-{ int y;\
- PANEL* pan2 = ((panstart) ? (panstart) : _nc_bottom_panel);\
+{ PANEL* pan2 = ((panstart) ? (panstart) : _nc_bottom_panel);\
if (touch)\
Touchpan(pan);\
while(pan2) {\
if ((pan2 != pan) && PANELS_OVERLAPPED(pan,pan2)) {\
- int ix1,ix2,iy1,iy2;\
+ int y,ix1,ix2,iy1,iy2;\
COMPUTE_INTERSECTION(pan,pan2,ix1,ix2,iy1,iy2);\
for(y = iy1; y <= iy2; y++) {\
if (is_linetouched(pan->win,y - PSTARTY(pan))) {\