1
0
forked from aniani/vim

Add the conceal patch from Vince Negri.

This commit is contained in:
Bram Moolenaar
2010-06-05 23:22:07 +02:00
parent 945e2dbb63
commit 860cae1cec
40 changed files with 1737 additions and 698 deletions

View File

@@ -1826,7 +1826,8 @@ findYourself(
else if (*argv0 == '.' || strchr(argv0, '/'))
{
runpath = (char *) malloc(MAXPATHLEN);
(void)getcwd(runpath, MAXPATHLEN);
if (getcwd(runpath, MAXPATHLEN) == NULL)
runpath[0] = NUL;
strcat(runpath, "/");
strcat(runpath, argv0);
}