diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2020-09-05 14:11:12 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2020-09-05 14:11:12 +0000 |
commit | 2019f3851a380ea4f060ca449d2f7509de30c551 (patch) | |
tree | 4f88ed317d44fb4e5d9ab77e565bf1d910a8f560 /src | |
parent | e1d58e19dd12fd7cf855c7bf818a711940e7e000 (diff) | |
download | lynx-snapshots-2019f3851a380ea4f060ca449d2f7509de30c551.tar.gz |
snapshot of project "lynx", label v2-9-0dev_6
Diffstat (limited to 'src')
-rw-r--r-- | src/LYStrings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYStrings.c b/src/LYStrings.c index d12a6e36..f4719f87 100644 --- a/src/LYStrings.c +++ b/src/LYStrings.c @@ -1,4 +1,4 @@ -/* $LynxId: LYStrings.c,v 1.276 2019/01/02 23:42:50 tom Exp $ */ +/* $LynxId: LYStrings.c,v 1.277 2020/09/04 00:34:02 tom Exp $ */ #include <HTUtils.h> #include <HTCJK.h> #include <UCAux.h> @@ -592,7 +592,7 @@ char *LYstrncpy(char *target, if (n > 0) { if (n > len) n = len; - (void) StrNCpy(target, source, n); + (void) memcpy(target, source, (size_t) n); } else { n = 0; } |