diff options
-rw-r--r-- | src/misc1.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index 40d6f93c5..a55275100 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -4924,7 +4924,7 @@ home_replace( homedir_env = NULL; #if defined(FEAT_MODIFY_FNAME) || defined(FEAT_EVAL) - if (homedir_env != NULL && vim_strchr(homedir_env, '~') != NULL) + if (homedir_env != NULL && *homedir_env == '~') { int usedlen = 0; int flen; diff --git a/src/version.c b/src/version.c index c49e8692d..c2869ce76 100644 --- a/src/version.c +++ b/src/version.c @@ -800,6 +800,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 662, +/**/ 661, /**/ 660, |