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:
committed by
Bram Moolenaar
parent
769f5895eb
commit
78a8404f8b
@@ -416,7 +416,7 @@ repeat:
|
|||||||
// Need full path first (use expand_env() to remove a "~/")
|
// Need full path first (use expand_env() to remove a "~/")
|
||||||
if (!has_fullname && !has_homerelative)
|
if (!has_fullname && !has_homerelative)
|
||||||
{
|
{
|
||||||
if ((c == '.' || c == '~') && **fnamep == '~')
|
if (**fnamep == '~')
|
||||||
p = pbuf = expand_env_save(*fnamep);
|
p = pbuf = expand_env_save(*fnamep);
|
||||||
else
|
else
|
||||||
p = pbuf = FullName_save(*fnamep, FALSE);
|
p = pbuf = FullName_save(*fnamep, FALSE);
|
||||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4337,
|
||||||
/**/
|
/**/
|
||||||
4336,
|
4336,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user