0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.4337: part of condition is always true

Problem:    Part of condition is always true.
Solution:   Remove that part of the condition. (closes #9729)
This commit is contained in:
=?UTF-8?q?Dundar=20G=C3=B6c?=
2022-02-09 15:20:39 +00:00
committed by Bram Moolenaar
parent 769f5895eb
commit 78a8404f8b
2 changed files with 3 additions and 1 deletions

View File

@@ -416,7 +416,7 @@ repeat:
// Need full path first (use expand_env() to remove a "~/")
if (!has_fullname && !has_homerelative)
{
if ((c == '.' || c == '~') && **fnamep == '~')
if (**fnamep == '~')
p = pbuf = expand_env_save(*fnamep);
else
p = pbuf = FullName_save(*fnamep, FALSE);

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4337,
/**/
4336,
/**/