diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-01-03 02:10:17 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-01-03 02:10:17 +0000 |
commit | 567157ae3b72d6fdccd659a9bcadd2bb505cb28f (patch) | |
tree | 9db228704ba4a7f0e3359e7ab7f32e294caa9fbf /src/LYStrings.c | |
parent | a45e2ee8f04e0b8424ad185dcf81ec8fa884cc91 (diff) | |
download | lynx-snapshots-567157ae3b72d6fdccd659a9bcadd2bb505cb28f.tar.gz |
snapshot of project "lynx", label v2-9-0dev_0i
Diffstat (limited to 'src/LYStrings.c')
-rw-r--r-- | src/LYStrings.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <HTUtils.h> #include <HTCJK.h> #include <UCAux.h> @@ -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) { |