1
0
forked from aniani/vim

updated for version 7.3.1123

Problem:    Can't build tiny Vim on MS-Windows.
Solution:   Adjust #ifdef around using modif_fname(). (Mike Williams)
This commit is contained in:
Bram Moolenaar
2013-06-05 19:35:38 +02:00
parent 8795374bd3
commit e60c2e5e1c
2 changed files with 3 additions and 1 deletions

View File

@@ -4607,7 +4607,7 @@ home_replace(buf, src, dst, dstlen, one)
if (homedir_env != NULL && *homedir_env == NUL)
homedir_env = NULL;
#if defined(FEAT_MODIFY_FNAME) || defined(WIN3264)
#if defined(FEAT_MODIFY_FNAME) || defined(FEAT_EVAL)
if (homedir_env != NULL && vim_strchr(homedir_env, '~') != NULL)
{
int usedlen = 0;