summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/tinfo/parse_entry.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-03-13 23:53:38 +0000
committermillert <millert@openbsd.org>2000-03-13 23:53:38 +0000
commita2d977cefdbe60d0c9bcede71e0721380b10984a (patch)
tree37f0b831c00ffba77c047a0faf3739935300ecdf /lib/libcurses/tinfo/parse_entry.c
parentImport of Darren Reed's IPFilter 3.3.11. See sbin/ipf/HISTORY for detailed (diff)
downloadwireguard-openbsd-a2d977cefdbe60d0c9bcede71e0721380b10984a.tar.xz
wireguard-openbsd-a2d977cefdbe60d0c9bcede71e0721380b10984a.zip
update to ncurses-5.0-20000311
Diffstat (limited to 'lib/libcurses/tinfo/parse_entry.c')
-rw-r--r--lib/libcurses/tinfo/parse_entry.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcurses/tinfo/parse_entry.c b/lib/libcurses/tinfo/parse_entry.c
index 2293a69d821..3f03844dc48 100644
--- a/lib/libcurses/tinfo/parse_entry.c
+++ b/lib/libcurses/tinfo/parse_entry.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse_entry.c,v 1.5 2000/03/10 01:35:04 millert Exp $ */
+/* $OpenBSD: parse_entry.c,v 1.6 2000/03/13 23:53:40 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998,1999,2000 Free Software Foundation, Inc. *
@@ -49,7 +49,7 @@
#define __INTERNAL_CAPS_VISIBLE
#include <term_entry.h>
-MODULE_ID("$From: parse_entry.c,v 1.42 2000/02/13 01:01:26 tom Exp $")
+MODULE_ID("$From: parse_entry.c,v 1.43 2000/03/12 00:09:06 tom Exp $")
#ifdef LINT
static short const parametrized[] =
@@ -257,7 +257,7 @@ _nc_parse_entry(struct entry *entryp, int literal, bool silent)
token_type = _nc_get_token()) {
if (strcmp(_nc_curr_token.tk_name, "use") == 0
|| strcmp(_nc_curr_token.tk_name, "tc") == 0) {
- entryp->uses[entryp->nuses].parent = (void *) _nc_save_str(_nc_curr_token.tk_valstring);
+ entryp->uses[entryp->nuses].name = _nc_save_str(_nc_curr_token.tk_valstring);
entryp->uses[entryp->nuses].line = _nc_curr_line;
entryp->nuses++;
} else {
@@ -458,7 +458,7 @@ _nc_parse_entry(struct entry *entryp, int literal, bool silent)
* have picked up defaults via translation.
*/
for (i = 0; i < entryp->nuses; i++)
- if (!strchr((char *) entryp->uses[i].parent, '+'))
+ if (!strchr((char *) entryp->uses[i].name, '+'))
has_base_entry = TRUE;
postprocess_termcap(&entryp->tterm, has_base_entry);