From 567157ae3b72d6fdccd659a9bcadd2bb505cb28f Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 3 Jan 2019 02:10:17 +0000 Subject: snapshot of project "lynx", label v2-9-0dev_0i --- src/LYStrings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/LYStrings.c') diff --git a/src/LYStrings.c b/src/LYStrings.c index 3fb31faa..d12a6e36 100644 --- a/src/LYStrings.c +++ b/src/LYStrings.c @@ -1,4 +1,4 @@ -/* $LynxId: LYStrings.c,v 1.275 2018/12/27 10:32:15 tom Exp $ */ +/* $LynxId: LYStrings.c,v 1.276 2019/01/02 23:42:50 tom Exp $ */ #include #include #include @@ -1003,6 +1003,7 @@ static const char *expand_tiname(const char *first, size_t len, char **result, c TERMTYPE *tp = (TERMTYPE *) (cur_term); LYStrNCpy(name, first, len); + **result = '\0'; if ((code = lookup_tiname(name, strnames)) >= 0 || (code = lookup_tiname(name, strfnames)) >= 0) { if (tp->Strings[code] != 0) { -- cgit 1.4.1-2-gfad0