diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-08-14 13:34:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-08-14 13:34:39 +0200 |
commit | cda000e97f44631a0ed19a5a7e3aed28532e05c9 (patch) | |
tree | a8ff1359f5e6d3168354e4c5992d68a91c63c14b | |
parent | 4421d6af223c92f29673154112939658126edca1 (diff) | |
download | vim-git-cda000e97f44631a0ed19a5a7e3aed28532e05c9.tar.gz |
Fix: strcat() on overlapping string. (Dominique Pelle)
-rw-r--r-- | src/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index 996ec7450..c4a6015a0 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -9555,7 +9555,7 @@ uniquefy_paths(gap, pattern) { STRCPY(path, "."); add_pathsep(path); - STRCAT(path, short_name); + STRMOVE(path + STRLEN(path), short_name); } } ui_breakcheck(); |