summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński (amade) <amade@asmblr.net>2011-01-05 18:45:01 +0100
committerAmadeusz Sławiński <amade@asmblr.net>2015-06-25 14:31:00 +0200
commite67ba908d1fae4366869c0932fec7e4cf7fa1017 (patch)
tree7e9bad089baa9cd6586c9336b55c0cbf1e613230 /src/mark.c
parent02fb86120be5639df2fd4405220043eaf68e7ea5 (diff)
downloadscreen-e67ba908d1fae4366869c0932fec7e4cf7fa1017.tar.gz
replace bcopy with memmove
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mark.c b/src/mark.c
index 43388f6..0f7a8a0 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -458,7 +458,7 @@ GetHistory() /* return value 1 if copybuffer changed */
LMsg(0, "Not enough memory... Sorry.");
return 0;
}
- bcopy((char *)linep - i + x + 1, D_user->u_plop.buf, i - x + 1);
+ memmove(D_user->u_plop.buf, (char *)linep - i + x + 1, i - x + 1);
D_user->u_plop.len = i - x + 1;
D_user->u_plop.enc = fore->w_encoding;
return 1;