summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src/lookups/lsearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/lookups/lsearch.c b/src/src/lookups/lsearch.c
index 4da422e9e..10927dd82 100644
--- a/src/src/lookups/lsearch.c
+++ b/src/src/lookups/lsearch.c
@@ -154,7 +154,7 @@ for (BOOL this_is_eol, last_was_eol = TRUE;
linekeylength = t - buffer;
if (*s) s++; /* Past terminating " */
if (ret_full)
- Ustrcpy(t, s); /* copy the rest of line does also */
+ memmove(t, s, Ustrlen(s)+1); /* copy the rest of line also */
}
/* Otherwise it is terminated by a colon or white space */