diff options
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) { |