0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

Fix: strcat() on overlapping string. (Dominique Pelle)

This commit is contained in:
Bram Moolenaar 2010-08-14 13:34:39 +02:00
parent 4421d6af22
commit cda000e97f

View File

@ -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();