about summary refs log tree commit diff stats
path: root/src/LYStrings.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2020-09-05 14:11:12 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2020-09-05 14:11:12 +0000
commit2019f3851a380ea4f060ca449d2f7509de30c551 (patch)
tree4f88ed317d44fb4e5d9ab77e565bf1d910a8f560 /src/LYStrings.c
parente1d58e19dd12fd7cf855c7bf818a711940e7e000 (diff)
downloadlynx-snapshots-2019f3851a380ea4f060ca449d2f7509de30c551.tar.gz
snapshot of project "lynx", label v2-9-0dev_6
Diffstat (limited to 'src/LYStrings.c')
-rw-r--r--src/LYStrings.c4
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;
     }
^
0d296736 ^
543f0dea ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17