summaryrefslogtreecommitdiff
path: root/src/if_xcmdsrv.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-11-12 13:52:46 +0000
committerBram Moolenaar <Bram@vim.org>2008-11-12 13:52:46 +0000
commitfbc0cfad0cc53e5c3a5b4d4261a6042bff37c0f3 (patch)
treee12cba824c7f3f1af4d396034f93e5b6164f540d /src/if_xcmdsrv.c
parenta878510770d59ba74aeafdcde824bf6d2a101647 (diff)
downloadvim-git-fbc0cfad0cc53e5c3a5b4d4261a6042bff37c0f3.tar.gz
updated for version 7.2-038v7.2.038
Diffstat (limited to 'src/if_xcmdsrv.c')
-rw-r--r--src/if_xcmdsrv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c
index 024bac6b2..ff4a46f6c 100644
--- a/src/if_xcmdsrv.c
+++ b/src/if_xcmdsrv.c
@@ -736,7 +736,7 @@ ServerReplyFind(w, op)
+ serverReply.ga_len;
e.id = w;
ga_init2(&e.strings, 1, 100);
- memcpy(p, &e, sizeof(e));
+ mch_memmove(p, &e, sizeof(e));
serverReply.ga_len++;
}
}
@@ -1018,7 +1018,7 @@ LookupName(dpy, name, delete, loose)
p++;
count = numItems - (p - regProp);
if (count > 0)
- memcpy(entry, p, count);
+ mch_memmove(entry, p, count);
XChangeProperty(dpy, RootWindow(dpy, 0), registryProperty, XA_STRING,
8, PropModeReplace, regProp,
(int)(numItems - (p - entry)));
@@ -1072,7 +1072,7 @@ DeleteAnyLingerer(dpy, win)
p++;
lastHalf = numItems - (p - regProp);
if (lastHalf > 0)
- memcpy(entry, p, lastHalf);
+ mch_memmove(entry, p, lastHalf);
numItems = (entry - regProp) + lastHalf;
p = entry;
continue;